From 3b53450b9236dc50abe652913cad17dedfca50df Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Wed, 10 Oct 2018 00:26:35 -0400 Subject: extended NOFIELD support when FINITE_STATES is also invoked --- src/wolff_ising.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/wolff_ising.cpp b/src/wolff_ising.cpp index 24bf74c..a6f43b1 100644 --- a/src/wolff_ising.cpp +++ b/src/wolff_ising.cpp @@ -117,7 +117,11 @@ int main(int argc, char *argv[]) { }; // initialize state object +#ifndef NOFIELD state_t s(D, L, T, Z, B); +#else + state_t s(D, L, T, Z); +#endif // define function that generates self-inverse rotations std::function gen_R = [] (gsl_rng *, const ising_t& s) -> z2_t { -- cgit v1.2.3-70-g09d2