From ddf97fa8fc995a10177b6b7fb613ee22e706dcf6 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Wed, 24 Nov 2021 15:34:43 -0500 Subject: [PATCH] tweak error messages --- src/atom.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/atom.cpp b/src/atom.cpp index 0cf48406af..d4a2a431ca 100644 --- a/src/atom.cpp +++ b/src/atom.cpp @@ -885,10 +885,10 @@ void Atom::tag_check() MPI_Allreduce(&min,&minall,1,MPI_LMP_TAGINT,MPI_MIN,world); MPI_Allreduce(&max,&maxall,1,MPI_LMP_TAGINT,MPI_MAX,world); - if (minall < 0) error->all(FLERR,"One or more Atom IDs is negative"); - if (maxall >= MAXTAGINT) error->all(FLERR,"One or more atom IDs is too big"); + if (minall < 0) error->all(FLERR,"One or more Atom IDs are negative"); + if (maxall >= MAXTAGINT) error->all(FLERR,"One or more atom IDs are too big"); if (maxall > 0 && minall == 0) - error->all(FLERR,"One or more atom IDs is zero"); + error->all(FLERR,"One or more atom IDs are zero"); if (maxall > 0 && tag_enable == 0) error->all(FLERR,"Non-zero atom IDs with atom_modify id = no"); if (maxall == 0 && natoms && tag_enable)