Replaced complex numbers by real numbers
[libdai.git] / tests / test.cpp
index 54294ed..fe42f43 100644 (file)
@@ -107,7 +107,7 @@ class TestAI {
                 obj->run();
                 time += toc() - tic;
                 try {
-                    logZ = real(obj->logZ());
+                    logZ = obj->logZ();
                     has_logZ = true;
                 } catch( Exception &e ) {
                     has_logZ = false;