Cleaned up variable elimination code in ClusterGraph
[libdai.git] / include / dai / exceptions.h
index 2ea3da3..df75624 100644 (file)
@@ -60,7 +60,7 @@
 /// Assertion mechanism similar to DAI_ASSERT which is only active if DAI_DEBUG is defined
 #define DAI_DEBASSERT(x) do {DAI_ASSERT(x);} while(0)
 #else
-#define DAI_DEBASSERT(X) do {} while(0)
+#define DAI_DEBASSERT(x) do {} while(0)
 #endif
 
 
@@ -79,10 +79,12 @@ class Exception : public std::runtime_error {
                    ASSERTION_FAILED,
                    IMPOSSIBLE_TYPECAST,
                    OBJECT_NOT_FOUND,
+                   BELIEF_NOT_AVAILABLE,
                    UNKNOWN_ENUM_VALUE,
                    UNKNOWN_DAI_ALGORITHM,
                    UNKNOWN_PARAMETER_ESTIMATION_METHOD,
                    UNKNOWN_PROPERTY_TYPE,
+                   UNKNOWN_PROPERTY,
                    MALFORMED_PROPERTY,
                    NOT_ALL_PROPERTIES_SPECIFIED,
                    CANNOT_READ_FILE,