diff --git a/src/MC/fix_gcmc.cpp b/src/MC/fix_gcmc.cpp index 3522653f9f..1d693793c6 100644 --- a/src/MC/fix_gcmc.cpp +++ b/src/MC/fix_gcmc.cpp @@ -937,7 +937,7 @@ void FixGCMC::attempt_molecule_insertion() for (int j = 0; j < nfix; j++) if (fix[j]->create_attribute) fix[j]->set_arrays(m); - } else atom->nlocal--; + } } if (shakeflag)