fix cut-n-paste error

This commit is contained in:
Axel Kohlmeyer
2022-03-04 16:08:14 -05:00
parent 5c8f506edf
commit f8089bd007

View File

@ -266,7 +266,7 @@ void PairReaxFF::settings(int narg, char **arg)
} else if (strcmp(arg[iarg],"tabulate") == 0) {
if (iarg+2 > narg) error->all(FLERR,"Illegal pair_style reaxff command");
api->control->tabulate = utils::inumeric(FLERR,arg[iarg+1],false,lmp);
if (api->system->tabulate < 0)
if (api->control->tabulate < 0)
error->all(FLERR,"Illegal pair_style reaxff tabulate command");
iarg += 2;
} else error->all(FLERR,"Illegal pair_style reaxff command");