we're parsing an integer here
This commit is contained in:
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user