diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-07-23 17:20:42 -0400 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-07-23 17:20:42 -0400 |
commit | 1681ad71a378e869cb89451ccd330f87f206b058 (patch) | |
tree | 1fb75d840e91056e49385cf550414ed9765dda3c /src | |
parent | 7253529af9b1cc00292a0b5431fb0098e765a2ba (diff) | |
download | c++-1681ad71a378e869cb89451ccd330f87f206b058.tar.gz c++-1681ad71a378e869cb89451ccd330f87f206b058.tar.bz2 c++-1681ad71a378e869cb89451ccd330f87f206b058.zip |
same fix for cgm...
Diffstat (limited to 'src')
-rw-r--r-- | src/wolff_cgm.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wolff_cgm.cpp b/src/wolff_cgm.cpp index 1574308..10477bd 100644 --- a/src/wolff_cgm.cpp +++ b/src/wolff_cgm.cpp @@ -111,6 +111,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); @@ -144,6 +145,7 @@ int main(int argc, char *argv[]) { } glFlush(); }; +#endif } // run wolff for N cluster flips |