actually reset image flags

This commit is contained in:
jrgissing
2022-04-22 21:19:53 -04:00
parent 78458a2143
commit b4c58c9828

View File

@ -110,7 +110,8 @@ void Replicate::command(int narg, char **arg)
// reset image flags for bondlist option
if (bondlist_flag)
for (i=0; i<atom->nlocal; ++i)
atom->image[i] = 0;
atom->image[i] = ((imageint) IMGMAX << IMG2BITS) |
((imageint) IMGMAX << IMGBITS) | IMGMAX;
// check image flags maximum extent
// only efficient small image flags compared to new system