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;