Fixed syntax error in assertion.
This commit is contained in:
parent
6af3b7b875
commit
f704ad64fd
@ -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());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user