From 4239e2bfc6701f0b5170132d01af381129618b34 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Wed, 10 Oct 2018 00:08:11 -0400 Subject: added new compile flag NOFIELD, which when defined compiles a version of wolff for use with zero field --- src/wolff_On.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/wolff_On.cpp') diff --git a/src/wolff_On.cpp b/src/wolff_On.cpp index 2356875..f6661af 100644 --- a/src/wolff_On.cpp +++ b/src/wolff_On.cpp @@ -241,7 +241,11 @@ int main(int argc, char *argv[]) { gsl_rng *r = gsl_rng_alloc(gsl_rng_taus2); gsl_rng_set(r, rand_seed()); +#ifndef NOFIELD state_t s(D, L, T, dot , H); +#else + state_t s(D, L, T, dot ); +#endif if (N_is_sweeps) { count_t N_rounds = 0; -- cgit v1.2.3-70-g09d2