git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8454 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2012-07-02 13:59:09 +00:00
parent 71f4cdf3f1
commit ef2bb14bab
2 changed files with 2 additions and 2 deletions

View File

@ -601,7 +601,7 @@ void Atom::data_atoms(int n, char *buf)
if (imageflag)
imagedata =
(((tagint) atoi(values[iptr+2]) + IMGMAX & IMGMASK) << IMG2BITS) |
(((tagint) atoi(values[iptr+1]) + IMGMASK & IMGMASK) << IMGBITS) |
(((tagint) atoi(values[iptr+1]) + IMGMAX & IMGMASK) << IMGBITS) |
(atoi(values[iptr]) + IMGMASK & IMGMASK);
else imagedata = ((tagint) IMGMAX << IMG2BITS) |
((tagint) IMGMAX << IMGBITS) | IMGMAX;

View File

@ -279,7 +279,7 @@ void Replicate::command(int narg, char **arg)
m = 0;
while (m < n) {
image = ((tagint) IMGMAX << IMG2BITS) |
((tagint) IMGMASK << IMGBITS) | IMGMAX;
((tagint) IMGMAX << IMGBITS) | IMGMAX;
if (triclinic == 0) {
x[0] = buf[m+1] + ix*old_xprd;
x[1] = buf[m+2] + iy*old_yprd;