Fixed missing reset on collected head term vector.
This commit is contained in:
parent
2046edbee3
commit
3fbe8ac407
@ -27,6 +27,9 @@ struct StatementVisitor
|
||||
|
||||
void visit(const Clingo::AST::Rule &rule, const Clingo::AST::Statement &, Context &context)
|
||||
{
|
||||
// TODO: implement more nicely
|
||||
context.headTerms.clear();
|
||||
|
||||
auto &outputStream = context.logger.outputStream();
|
||||
|
||||
// Concatenate all head terms
|
||||
|
Loading…
Reference in New Issue
Block a user