Commit 36570770 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

update error message to be consistent with other styles

parent 16323ba3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -383,7 +383,7 @@ void FixColvars::init()
    error->all(FLERR,"Cannot use fix colvars without atom IDs");

  if (atom->map_style == 0)
    error->all(FLERR,"Fix colvars requires an atom map");
    error->all(FLERR,"Fix colvars requires an atom map, see atom_modify");

  if ((me == 0) && (update->whichflag == 2))
    error->warning(FLERR,"Using fix colvars with minimization");
+1 −1
Original line number Diff line number Diff line
@@ -128,7 +128,7 @@ E: Cannot use fix colvars without atom IDs

Atom IDs are not defined, but fix colvars needs them to identify an atom.

E: Fix colvars requires an atom map
E: Fix colvars requires an atom map, see atom_modify

Use the atom_modify command to create an atom map.