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

This commit is contained in:
sjplimp 2016-08-05 20:58:38 +00:00
parent 30d6007565
commit decd072117
1 changed files with 2 additions and 1 deletions

View File

@ -75,8 +75,9 @@ FixAveChunk::FixAveChunk(LAMMPS *lmp, int narg, char **arg) :
value2index = new int[nargnew];
nvalues = 0;
int iarg = 7;
int iarg = 0;
while (iarg < narg) {
ids[nvalues] = NULL;
if (strcmp(arg[iarg],"vx") == 0) {