diff --git a/src/MISC/fix_deposit.cpp b/src/MISC/fix_deposit.cpp index 68484b385d..28e64b7957 100644 --- a/src/MISC/fix_deposit.cpp +++ b/src/MISC/fix_deposit.cpp @@ -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; diff --git a/src/RIGID/fix_shake.cpp b/src/RIGID/fix_shake.cpp index 1244cd36fb..90f09ac1b8 100644 --- a/src/RIGID/fix_shake.cpp +++ b/src/RIGID/fix_shake.cpp @@ -2536,13 +2536,13 @@ void FixShake::stats() auto mesg = fmt::format("SHAKE stats (type/ave/delta/count) on step {}\n", update->ntimestep); for (i = 1; i < nb; i++) { - const auto bcnt = b_count_all[i]; + const auto bcnt = b_count_all[i]/2; if (bcnt) mesg += fmt::format("{:>6d} {:<9.6} {:<11.6} {:>8d}\n",i, b_ave_all[i]/bcnt,b_max_all[i]-b_min_all[i],bcnt); } for (i = 1; i < na; i++) { - const auto acnt = a_count_all[i]; + const auto acnt = a_count_all[i]/3; if (acnt) mesg += fmt::format("{:>6d} {:<9.6} {:<11.6} {:>8d}\n",i, a_ave_all[i]/acnt,a_max_all[i]-a_min_all[i],acnt);