fix one more example input script

This commit is contained in:
Steve Plimpton
2023-08-22 16:02:28 -06:00
parent ad33a018f4
commit 71ca6ee47c
4 changed files with 3 additions and 11 deletions

View File

@ -31,8 +31,6 @@
using namespace LAMMPS_NS;
enum{UNDECIDED,PERATOM,LOCAL}; // same as in ComputeReduceRegion
#define BIG 1.0e20
//----------------------------------------------------------------
@ -232,6 +230,7 @@ ComputeReduce::ComputeReduce(LAMMPS *lmp, int narg, char **arg) :
error->all(FLERR,"Compute {} inputs must be all peratom or all local");
input_mode = LOCAL;
}
iarg += 2;
} else
error->all(FLERR, "Unknown compute {} keyword: {}", style, arg[iarg]);
}