summaryrefslogtreecommitdiff
path: root/lib/wolff.h
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2018-07-26 13:06:54 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2018-07-26 13:06:54 -0400
commit870555f569bc63fecdc7c0b16e72e4e002f21c13 (patch)
tree704fc4669fa3c69af8882b10eff0e89321b3be83 /lib/wolff.h
parent215c40813a35c4fdc0bb5f1b8fdea125b9e9d2e4 (diff)
downloadc++-870555f569bc63fecdc7c0b16e72e4e002f21c13.tar.gz
c++-870555f569bc63fecdc7c0b16e72e4e002f21c13.tar.bz2
c++-870555f569bc63fecdc7c0b16e72e4e002f21c13.zip
all the R_t have been objectified
Diffstat (limited to 'lib/wolff.h')
-rw-r--r--lib/wolff.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/wolff.h b/lib/wolff.h
index da4b7b6..a4a663c 100644
--- a/lib/wolff.h
+++ b/lib/wolff.h
@@ -16,7 +16,6 @@ void wolff(count_t N, state_t <R_t, X_t> *s, std::function <R_t(gsl_rng *, X_t s
v_t v0 = gsl_rng_uniform_int(r, s->nv);
R_t step = gen_R(r, s->spins[v0]);
flip_cluster <R_t, X_t> (s, v0, step, r);
- free_spin(step);
measurements(s);
}