Commit 588b2534 authored by David Nicholson's avatar David Nicholson
Browse files

Minor fix for FixNHUef constructor

parent 00aef0fe
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -112,10 +112,13 @@ FixNHUef::FixNHUef(LAMMPS *lmp, int narg, char **arg) :
        error->all(FLERR,"Illegal fix nvt/npt/uef command");

      iarg += 2;
    }
    } else {

      // skip to next argument; argument check for unknown keywords is done in FixNH

      ++iarg;
    }
  }

  if (!erate_flag)
    error->all(FLERR,"Keyword erate must be set for fix npt/npt/uef command");