diff options
Diffstat (limited to 'lib/ising.h')
-rw-r--r-- | lib/ising.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ising.h b/lib/ising.h index ec392bf..f08ae58 100644 --- a/lib/ising.h +++ b/lib/ising.h @@ -94,6 +94,6 @@ void write_magnetization(int M, FILE *outfile) { } #define N_STATES 2 -const ising_t states[2] = {(bool)0, (bool)1}; +const ising_t states[2] = {{(bool)0}, {(bool)1}}; q_t state_to_ind(ising_t state) { return (q_t)state.x; } |