summaryrefslogtreecommitdiff
path: root/space_wolff.hpp
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2020-02-14 07:44:50 -0500
committerJaron Kent-Dobias <jaron@kent-dobias.com>2020-02-14 07:44:50 -0500
commit452600249b16eb1239931b49f3d0fa795a611f5a (patch)
tree2d198f5090bad4d776020c675a5d942b9007e22e /space_wolff.hpp
parentfba3eb10e02f0b4406c1baf246daa94006c66cf8 (diff)
downloadspace_wolff-452600249b16eb1239931b49f3d0fa795a611f5a.tar.gz
space_wolff-452600249b16eb1239931b49f3d0fa795a611f5a.tar.bz2
space_wolff-452600249b16eb1239931b49f3d0fa795a611f5a.zip
Broken: attempt to implement dynamic matching of pair-flipped spheres.
Diffstat (limited to 'space_wolff.hpp')
-rw-r--r--space_wolff.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/space_wolff.hpp b/space_wolff.hpp
index 9d529a3..141396a 100644
--- a/space_wolff.hpp
+++ b/space_wolff.hpp
@@ -62,7 +62,7 @@ public:
for (Spin<U, D, S>* s : t->toConsider()) {
double ΔE = t->ΔE(s);
if (ΔE > 0 && 1.0 - exp(-ΔE / T) > rng.uniform<double>(0, 1)) {
- queue.push(t->createNew(s));
+ queue.push(t->createNew(T, visited, s, rng));
}
}