replace some numeric constants in Atom and AtomVec classes with enumerators
This commit is contained in:
@ -54,7 +54,7 @@ FixHyperLocal::FixHyperLocal(LAMMPS *lmp, int narg, char **arg) :
|
||||
{
|
||||
// error checks
|
||||
|
||||
if (atom->map_style == 0)
|
||||
if (atom->map_style == Atom::MAP_NONE)
|
||||
error->all(FLERR,"Fix hyper/local command requires atom map");
|
||||
|
||||
// parse args
|
||||
|
||||
Reference in New Issue
Block a user