Fixed syntax error in assertion.

This commit is contained in:
Patrick Lühne 2016-11-24 00:57:35 +01:00
parent 6af3b7b875
commit f704ad64fd
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -168,7 +168,7 @@ struct TermPrintSubstitutedVisitor
const auto matchingTerm = std::find(context.headTerms.cbegin(), context.headTerms.cend(), &argument); const auto matchingTerm = std::find(context.headTerms.cbegin(), context.headTerms.cend(), &argument);
assert(matchingTerm != terms.cend()); assert(matchingTerm != context.headTerms.cend());
std::cout << AuxiliaryHeadVariablePrefix << (matchingTerm - context.headTerms.cbegin()); std::cout << AuxiliaryHeadVariablePrefix << (matchingTerm - context.headTerms.cbegin());
} }