diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-10-10 00:08:11 -0400 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-10-10 00:08:11 -0400 |
commit | 4239e2bfc6701f0b5170132d01af381129618b34 (patch) | |
tree | f3429fc52a950f5fbd756d6fa0e5863e52b35393 /src/wolff_On.cpp | |
parent | b01aedbf7d9cb6bdcdd291e6d4a66f3ef8fa7eb4 (diff) | |
download | c++-4239e2bfc6701f0b5170132d01af381129618b34.tar.gz c++-4239e2bfc6701f0b5170132d01af381129618b34.tar.bz2 c++-4239e2bfc6701f0b5170132d01af381129618b34.zip |
added new compile flag NOFIELD, which when defined compiles a version of wolff for use with zero field
Diffstat (limited to 'src/wolff_On.cpp')
-rw-r--r-- | src/wolff_On.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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 <orthogonal_R_t, vector_R_t> s(D, L, T, dot <N_COMP, double>, H); +#else + state_t <orthogonal_R_t, vector_R_t> s(D, L, T, dot <N_COMP, double>); +#endif if (N_is_sweeps) { count_t N_rounds = 0; |