projects
/
libdai.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of git@git.tuebingen.mpg.de:libdai
[libdai.git]
/
src
/
alldai.cpp
diff --git
a/src/alldai.cpp
b/src/alldai.cpp
index
cca6ec2
..
05359ba
100644
(file)
--- a/
src/alldai.cpp
+++ b/
src/alldai.cpp
@@
-22,6
+22,7
@@
#include <string>
#include <dai/alldai.h>
#include <dai/properties.h>
+#include <dai/exceptions.h>
namespace dai {
@@
-59,7
+60,7
@@
InfAlg *newInfAlg( const string &name, const FactorGraph &fg, const PropertySet
if( name == MR::Name )
return new MR (fg, opts);
#endif
-
throw "Unknown inference algorithm"
;
+
DAI_THROW(UNKNOWN_DAI_ALGORITHM)
;
}