From 870555f569bc63fecdc7c0b16e72e4e002f21c13 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Thu, 26 Jul 2018 13:06:54 -0400 Subject: all the R_t have been objectified --- src/wolff_cgm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/wolff_cgm.cpp') diff --git a/src/wolff_cgm.cpp b/src/wolff_cgm.cpp index 10477bd..7613691 100644 --- a/src/wolff_cgm.cpp +++ b/src/wolff_cgm.cpp @@ -128,7 +128,7 @@ int main(int argc, char *argv[]) { double max_h = INT64_MIN; double min_h = INT64_MAX; for (v_t i = 0; i < pow(L, 2); i++) { - double cur_h = act_inverse(s->R, s->spins[i]).x; + double cur_h = (s->R.act_inverse(s->spins[i])).x; if (cur_h < min_h) { min_h = cur_h; } @@ -138,7 +138,7 @@ int main(int argc, char *argv[]) { } for (v_t i = 0; i < pow(L, 2); i++) { - double cur_h = act_inverse(s->R, s->spins[i]).x; + double cur_h = (s->R.act_inverse(s->spins[i])).x; double mag = ((double)(cur_h - min_h)) / ((double)(max_h - min_h)); glColor3f(mag, mag, mag); glRecti(i / L, i % L, (i / L) + 1, (i % L) + 1); -- cgit v1.2.3-70-g09d2