diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-07-23 17:16:53 -0400 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-07-23 17:16:53 -0400 |
commit | 1f5c0921c2fe3f8790a4f4035883a0d3db3a9031 (patch) | |
tree | 93c844effb17394b11ff7b91b83593cfa8ce968f /src | |
parent | 2d894e93b93c7b1ffe3ca852af868392c50265b6 (diff) | |
download | c++-1f5c0921c2fe3f8790a4f4035883a0d3db3a9031.tar.gz c++-1f5c0921c2fe3f8790a4f4035883a0d3db3a9031.tar.bz2 c++-1f5c0921c2fe3f8790a4f4035883a0d3db3a9031.zip |
same for potts...
Diffstat (limited to 'src')
-rw-r--r-- | src/wolff_potts.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wolff_potts.cpp b/src/wolff_potts.cpp index 5de7f9c..e3259e4 100644 --- a/src/wolff_potts.cpp +++ b/src/wolff_potts.cpp @@ -121,6 +121,7 @@ int main(int argc, char *argv[]) { } else { // a more complex example: measure the average magnetization, and draw the spin configuration to the screen +#ifdef HAVE_GLUT // initialize glut glutInit(&argc, argv); glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB); @@ -141,6 +142,7 @@ int main(int argc, char *argv[]) { } glFlush(); }; +#endif } // run wolff for N cluster flips |