diff --git a/src/anthem/Translation.cpp b/src/anthem/Translation.cpp index 2c9f86f..c291690 100644 --- a/src/anthem/Translation.cpp +++ b/src/anthem/Translation.cpp @@ -154,7 +154,7 @@ void translate(const char *fileName, std::istream &stream, Context &context) << output::Keyword("int") << "(" << predicateDeclaration->name << "/" << output::Number(predicateDeclaration->arity()) - << "@" << output::Number(i) + << "@" << output::Number(i + 1) << ")." << std::endl; } }