increment bugfix for "inputs local"

This commit is contained in:
Axel Kohlmeyer
2025-01-14 07:06:37 -05:00
parent edb068c43f
commit af1f442b97

View File

@ -218,7 +218,7 @@ ComputeReduce::ComputeReduce(LAMMPS *lmp, int narg, char **arg) :
input_mode = PERATOM;
else if (strcmp(arg[iarg + 1], "local") == 0)
input_mode = LOCAL;
iarg += 2;
iarg += 1;
} else
error->all(FLERR, "Unknown compute {} keyword: {}", style, arg[iarg]);
}