From 84f65fe441ad4bacfbcd4a795416545d72b9ac8e Mon Sep 17 00:00:00 2001 From: sjplimp Date: Wed, 8 Jun 2016 15:41:04 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15157 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/lattice.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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]);