removing small bug in compute_atom_property.cpp

This commit is contained in:
Julien Tranchida
2022-09-20 19:07:38 +02:00
parent 293a70b719
commit 62b0024425

View File

@ -152,7 +152,7 @@ ComputePropertyAtom::ComputePropertyAtom(LAMMPS *lmp, int narg, char **arg) :
error->all(FLERR,"Compute property/atom {} is not available", arg[iarg]);
pack_choice[i] = &ComputePropertyAtom::pack_spx;
} else if (strcmp(arg[iarg],"spy") == 0) {
error->all(FLERR,"Compute property/atom {} is not available", arg[iarg]);
// error->all(FLERR,"Compute property/atom {} is not available", arg[iarg]);
if (!atom->sp_flag)
error->all(FLERR,"Compute property/atom {} is not available", arg[iarg]);
pack_choice[i] = &ComputePropertyAtom::pack_spy;