From 0921544c24d4acf1c5d2fc9e95e16189a615ffda Mon Sep 17 00:00:00 2001 From: sjplimp Date: Fri, 4 Jan 2013 18:30:49 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9230 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/fix_store_state.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/fix_store_state.cpp b/src/fix_store_state.cpp index 579de00063..693d699c68 100644 --- a/src/fix_store_state.cpp +++ b/src/fix_store_state.cpp @@ -66,7 +66,8 @@ FixStoreState::FixStoreState(LAMMPS *lmp, int narg, char **arg) : pack_choice[nvalues++] = &FixStoreState::pack_id; } else if (strcmp(arg[iarg],"mol") == 0) { if (!atom->molecule_flag) - error->all(FLERR,"Fix store/state for atom property that isn't allocated"); + error->all(FLERR, + "Fix store/state for atom property that isn't allocated"); pack_choice[nvalues++] = &FixStoreState::pack_molecule; } else if (strcmp(arg[iarg],"type") == 0) { pack_choice[nvalues++] = &FixStoreState::pack_type; @@ -469,7 +470,7 @@ double FixStoreState::memory_usage() void FixStoreState::grow_arrays(int nmax) { - memory->grow(values,nmax,nvalues,"store/state:values"); + memory->grow(values,nmax,nvalues,"store/state:values"); if (nvalues == 1) { if (nmax) vector_atom = &values[0][0]; else vector_atom = NULL;