Improve the error messages

This commit is contained in:
Tiago Gomes
2012-12-20 18:07:50 +00:00
parent 685f46dc27
commit b44ed7db39
13 changed files with 49 additions and 55 deletions

View File

@@ -334,7 +334,7 @@ ParfactorList::shatterAgainstMySelf (
ProbFormula& f1 = g->argument (fIdx1);
ProbFormula& f2 = g->argument (fIdx2);
if (f1.isAtom()) {
cerr << "error: a ground occurs twice in a parfactor" << endl;
cerr << "Error: a ground occurs twice in the same parfactor." << endl;
cerr << endl;
exit (EXIT_FAILURE);
}