use correct order when initializing arrays

This commit is contained in:
Axel Kohlmeyer
2016-08-28 22:21:21 -04:00
parent 48ba812f0a
commit 1c1c9c3101

View File

@ -36,7 +36,7 @@ enum{X,V,F,COMPUTE,FIX,VARIABLE};
FixAveAtom::FixAveAtom(LAMMPS *lmp, int narg, char **arg) :
Fix(lmp, narg, arg),
nvalues(0), which(NULL), argindex(NULL), ids(NULL), value2index(NULL), array(NULL)
nvalues(0), which(NULL), argindex(NULL), value2index(NULL), ids(NULL), array(NULL)
{
if (narg < 7) error->all(FLERR,"Illegal fix ave/atom command");