fix syntax issues

This commit is contained in:
Axel Kohlmeyer
2023-08-04 17:13:53 -04:00
parent b248211eb5
commit 7adb2d7bcf
3 changed files with 7 additions and 6 deletions

View File

@ -57,9 +57,10 @@ FixVector::FixVector(LAMMPS *lmp, int narg, char **arg) :
val.id = argi.get_name();
val.val.c = nullptr;
if ((val.which == ArgInfo::UNKNOWN) || (val.which == ArgInfo::NONE) || (argi.get_dim() > 1))
if ((val.which == ArgInfo::UNKNOWN) || (argi.get_dim() > 1))
error->all(FLERR, "Invalid fix vector argument: {}", arg[iarg]);
if (val.which == ArgInfo::NONE) break;
values.push_back(val);
++iarg;
}