correctly report number of constrained bonds and angles

This commit is contained in:
Axel Kohlmeyer
2020-10-26 18:49:09 -04:00
parent d84bb54019
commit 656b7eac8b
2 changed files with 2 additions and 3 deletions

View File

@ -718,7 +718,6 @@ void FixDeposit::options(int narg, char **arg)
error->all(FLERR,"Illegal fix deposit command");
molfrac[nmol-1] = 1.0;
iarg += nmol+1;
} else if (strcmp(arg[iarg],"rigid") == 0) {
if (iarg+2 > narg) error->all(FLERR,"Illegal fix deposit command");
int n = strlen(arg[iarg+1]) + 1;