Fixed incorrect auxiliary variable naming.

This commit is contained in:
Patrick Lühne 2016-11-24 03:11:36 +01:00
parent 3fbe8ac407
commit e65ec9b6c1
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -45,7 +45,7 @@ struct StatementVisitor
if (i != context.headTerms.cbegin())
outputStream << ", ";
const auto variableName = std::string(AuxiliaryBodyVariablePrefix) + std::to_string(i - context.headTerms.cbegin());
const auto variableName = std::string(AuxiliaryHeadVariablePrefix) + std::to_string(i - context.headTerms.cbegin());
outputStream
<< output::Variable(variableName.c_str())