From 96e878d2f69790dc72bb4b713c1d492fa2b4c587 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Tue, 24 Jul 2018 15:26:31 -0400 Subject: added preprocessor method for potts, and implemented dihedral for the c++ stuff --- src/wolff_potts.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/wolff_potts.cpp') diff --git a/src/wolff_potts.cpp b/src/wolff_potts.cpp index 6b6f602..f8f1523 100644 --- a/src/wolff_potts.cpp +++ b/src/wolff_potts.cpp @@ -10,9 +10,8 @@ #include #include +// hack to speed things up considerably #define N_STATES POTTSQ -const potts_t states[8] = {0, 1, 2, 3, 4, 5, 6, 7}; -q_t state_to_ind(potts_t state) { return (q_t)state.x; } #include // include wolff.h -- cgit v1.2.3-70-g09d2