git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9138 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -369,7 +369,8 @@ void ComputePropertyAtom::compute_peratom()
|
|||||||
buf = vector;
|
buf = vector;
|
||||||
(this->*pack_choice[0])(0);
|
(this->*pack_choice[0])(0);
|
||||||
} else {
|
} else {
|
||||||
buf = &array[0][0];
|
if (nmax) buf = &array[0][0];
|
||||||
|
else buf = NULL;
|
||||||
for (int n = 0; n < nvalues; n++)
|
for (int n = 0; n < nvalues; n++)
|
||||||
(this->*pack_choice[n])(n);
|
(this->*pack_choice[n])(n);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user