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