mirror of https://github.com/lammps/lammps.git
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10872 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
a4d29d41dd
commit
cbfaf7aecf
|
@ -378,13 +378,13 @@ int FixPropertyAtom::pack_border(int n, int *list, double *buf)
|
|||
j = list[i];
|
||||
buf[m++] = molecule[j];
|
||||
}
|
||||
} else if (style[j] == INTEGER) {
|
||||
} else if (style[k] == INTEGER) {
|
||||
int *ivector = atom->ivector[index[k]];
|
||||
for (i = 0; i < n; i++) {
|
||||
j = list[i];
|
||||
buf[m++] = ivector[j];
|
||||
}
|
||||
} else if (style[j] == DOUBLE) {
|
||||
} else if (style[k] == DOUBLE) {
|
||||
double *dvector = atom->dvector[index[k]];
|
||||
for (i = 0; i < n; i++) {
|
||||
j = list[i];
|
||||
|
|
Loading…
Reference in New Issue