forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5141 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
a35661e989
commit
2e39d108c2
|
@ -483,7 +483,8 @@ double FixStoreState::memory_usage()
|
|||
|
||||
void FixStoreState::grow_arrays(int nmax)
|
||||
{
|
||||
values = memory->grow_2d_double_array(values,nmax,3,"fix_store:values");
|
||||
values = memory->grow_2d_double_array(values,nmax,nvalues,
|
||||
"fix_store:values");
|
||||
if (nvalues == 0) vector_atom = &values[0][0];
|
||||
else array_atom = values;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue