diff --git a/src/fix_property_atom.cpp b/src/fix_property_atom.cpp index 761f8264d3..0f86d8abc3 100644 --- a/src/fix_property_atom.cpp +++ b/src/fix_property_atom.cpp @@ -97,6 +97,7 @@ FixPropertyAtom::FixPropertyAtom(LAMMPS *lmp, int narg, char **arg) : error->all(FLERR,"Fix property/atom vector name already exists"); index[nvalue] = atom->add_custom(&arg[iarg][2],0,0); cols[nvalue] = 0; + values_peratom++; nvalue++; iarg++; @@ -108,6 +109,7 @@ FixPropertyAtom::FixPropertyAtom(LAMMPS *lmp, int narg, char **arg) : error->all(FLERR,"Fix property/atom vector name already exists"); index[nvalue] = atom->add_custom(&arg[iarg][2],1,0); cols[nvalue] = 0; + values_peratom++; nvalue++; iarg++;