Merged Generalized Loop Correction code kindly provided by Siamak Ravanbakhsh
[libdai.git] / src / alldai.cpp
index ae0b720..8109cdd 100644 (file)
@@ -59,6 +59,10 @@ class _builtinInfAlgs : public std::map<std::string, InfAlg *> {
 #ifdef DAI_WITH_DECMAP
             operator[]( DecMAP().name() ) = new DecMAP;
 #endif
+#ifdef DAI_WITH_GLC
+            operator[]( GLC().name() ) = new GLC;
+#endif
+
         }
 
         ~_builtinInfAlgs() {