From bc70568865baae92b9c4501a45b7ca044b330900 Mon Sep 17 00:00:00 2001 From: pscrozi Date: Mon, 10 Dec 2012 19:13:11 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9148 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/MC/fix_gcmc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MC/fix_gcmc.cpp b/src/MC/fix_gcmc.cpp index 136310012f..31d7278f88 100644 --- a/src/MC/fix_gcmc.cpp +++ b/src/MC/fix_gcmc.cpp @@ -825,7 +825,7 @@ void FixGCMC::attempt_molecule_insertion() int nfix = modify->nfix; Fix **fix = modify->fix; for (int j = 0; j < nfix; j++) - if (fix[j]->create_attribute) fix[j]->set_arrays(i); + if (fix[j]->create_attribute) fix[j]->set_arrays(m); } else atom->nlocal--; }