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

This commit is contained in:
sjplimp
2011-03-25 21:13:51 +00:00
parent e3cf018311
commit fbb475b9cd
149 changed files with 1402 additions and 1660 deletions

View File

@ -333,7 +333,7 @@ FixStoreState::~FixStoreState()
delete [] value2index;
delete [] pack_choice;
memory->destroy_2d_double_array(values);
memory->destroy(values);
}
/* ---------------------------------------------------------------------- */
@ -485,8 +485,7 @@ double FixStoreState::memory_usage()
void FixStoreState::grow_arrays(int nmax)
{
values = memory->grow_2d_double_array(values,nmax,nvalues,
"fix_store:values");
memory->grow(values,nmax,nvalues,"fix_store:values");
if (nvalues == 1) {
if (nmax) vector_atom = &values[0][0];
else vector_atom = NULL;