remove redundant error argument (accessible through lmp)

This commit is contained in:
Axel Kohlmeyer
2024-06-25 18:19:41 -04:00
parent fcba5ee3c9
commit 5cbe85ecf1
7 changed files with 18 additions and 18 deletions

View File

@ -102,8 +102,8 @@ ComputeRDF::ComputeRDF(LAMMPS *lmp, int narg, char **arg) :
} else {
iarg = 4;
for (int ipair = 0; ipair < npairs; ipair++) {
utils::bounds_typelabel(FLERR, arg[iarg], 1, atom->ntypes, ilo[ipair], ihi[ipair], error, lmp, Atom::ATOM);
utils::bounds_typelabel(FLERR, arg[iarg+1], 1, atom->ntypes, jlo[ipair], jhi[ipair], error, lmp, Atom::ATOM);
utils::bounds_typelabel(FLERR, arg[iarg], 1, atom->ntypes, ilo[ipair], ihi[ipair], lmp, Atom::ATOM);
utils::bounds_typelabel(FLERR, arg[iarg+1], 1, atom->ntypes, jlo[ipair], jhi[ipair], lmp, Atom::ATOM);
// switch i,j if i > j, if wildcards were not used