diff options
author | Jaron <jaron@kent-dobias.com> | 2017-10-12 17:58:26 -0400 |
---|---|---|
committer | Jaron <jaron@kent-dobias.com> | 2017-10-12 17:58:26 -0400 |
commit | f6b85f7a59ba21840a2ab82689e0b1bf41ade04e (patch) | |
tree | 9b3d87bdff6c12853e6b1174d06cf77afff67e71 | |
parent | 77584d5ab2182f5e9d9b8614b600b2e1ef08bb7f (diff) | |
download | c++-f6b85f7a59ba21840a2ab82689e0b1bf41ade04e.tar.gz c++-f6b85f7a59ba21840a2ab82689e0b1bf41ade04e.tar.bz2 c++-f6b85f7a59ba21840a2ab82689e0b1bf41ade04e.zip |
changed stop condition to the equilibrium magnetization
-rw-r--r-- | src/wolff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wolff.c b/src/wolff.c index 4c8d744..981a090 100644 --- a/src/wolff.c +++ b/src/wolff.c @@ -146,7 +146,7 @@ int main(int argc, char *argv[]) { } if (M_stop) { - diff = fabs(M->dx / M->x); + diff = fabs(eM->dx / eM->x); } else { diff = fabs(M->dc / M->c); } |