Commit 77a628e4 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

make the deprecation warning nicer looking

parent f01103dd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -48,8 +48,8 @@ static const char *keywords[] = {
PairMEAM::PairMEAM(LAMMPS *lmp) : Pair(lmp)
{
  if (comm->me == 0)
    error->warning(FLERR,"The pair_style meam command is unsupported "
                   "- please use pair_style meam/c instead");
    error->warning(FLERR,"The pair_style meam command is unsupported. "
                   "Please use pair_style meam/c instead");

  single_enable = 0;
  restartinfo = 0;
+2 −2
Original line number Diff line number Diff line
@@ -46,8 +46,8 @@ using namespace LAMMPS_NS;
PairREAX::PairREAX(LAMMPS *lmp) : Pair(lmp)
{
  if (comm->me == 0)
    error->warning(FLERR,"The pair_style reax command is unsupported"
                   "- please switch to pair_style reax/c instead");
    error->warning(FLERR,"The pair_style reax command is unsupported. "
                   "Please switch to pair_style reax/c instead");

  single_enable = 0;
  restartinfo = 0;