we're parsing an integer here

This commit is contained in:
Axel Kohlmeyer
2025-06-24 23:29:19 -04:00
parent 54eed8af02
commit 29651c4bb1

View File

@ -74,7 +74,7 @@ void AtomVecBPMSphere::process_args(int narg, char **arg)
radvary = 0; radvary = 0;
if (narg == 1) { if (narg == 1) {
radvary = utils::numeric(FLERR, arg[0], true, lmp); radvary = utils::inumeric(FLERR, arg[0], true, lmp);
if (radvary < 0 || radvary > 1) error->all(FLERR, "Illegal atom_style bpm/sphere command"); if (radvary < 0 || radvary > 1) error->all(FLERR, "Illegal atom_style bpm/sphere command");
} }