]> git.treefish.org Git - phys/latlib.git/blobdiff - culooks.cpp
Fixed MPI cmake config.
[phys/latlib.git] / culooks.cpp
index 6e7fded3e92532c154037631e999a7f49b461e50..94b9aa9fe80a1e6186c0dd6b27d649905b59c6c4 100644 (file)
@@ -18,6 +18,8 @@ culooks::culooks (const char* name, const int& xcubes, const int& ycubes, const
   window *Win = new window;
   int winsize[2];
 
+  XInitThreads();
+
   Win->layout[0] = xcubes;
   Win->layout[1] = ycubes;
   Win->aspect = (double)xcubes/ycubes;