diff --git a/src/lattice.cpp b/src/lattice.cpp index 484ce27972..5f6d05db89 100644 --- a/src/lattice.cpp +++ b/src/lattice.cpp @@ -54,9 +54,8 @@ Lattice::Lattice(LAMMPS *lmp, int narg, char **arg) : Pointers(lmp) if (style == NONE) { if (narg != 2) error->all(FLERR,"Illegal lattice command"); - // Domain defines a default lattice of style "none" with - // spacing 1.0 before the force class is initialized, so - // we have to fall back to using atof() in that case. + // Domain creates a default lattice of style "none" + // before Force class is instantiated, just use atof() in that case if (force) xlattice = ylattice = zlattice = force->numeric(FLERR,arg[1]);