diff --git a/packages/CLPBN/horus/FactorGraph.cpp b/packages/CLPBN/horus/FactorGraph.cpp index 2c38a0dc5..bbf0618a7 100644 --- a/packages/CLPBN/horus/FactorGraph.cpp +++ b/packages/CLPBN/horus/FactorGraph.cpp @@ -167,6 +167,7 @@ FactorGraph::readFromLibDaiFormat (const char* fileName) std::cerr << "Error: variable `" << vids[j] << "' appears" ; std::cerr << " in two or more factors with a different range." ; std::cerr << std::endl; + exit (EXIT_FAILURE); } } // read parameters