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

This commit is contained in:
sjplimp
2009-12-17 23:52:50 +00:00
parent f0512a96c8
commit 5f3af95136
8 changed files with 107 additions and 63 deletions

View File

@ -249,7 +249,7 @@ void ComputePropertyAtom::compute_peratom()
buf = vector;
(this->*pack_choice[0])(0);
} else {
buf = array[0];
if (array) buf = array[0];
for (int n = 0; n < nvalues; n++)
(this->*pack_choice[n])(n);
}