Minor refactoring
This commit is contained in:
parent
55f7fd4ff3
commit
89aec98942
@ -216,7 +216,7 @@ struct StatementVisitor
|
||||
|
||||
context.externalStatementsUsed = true;
|
||||
|
||||
const size_t arity = arityArgument.data.get<Clingo::Symbol>().number();
|
||||
const size_t arity = aritySymbol.number();
|
||||
|
||||
auto predicateDeclaration = context.findOrCreatePredicateDeclaration(predicate.name, arity);
|
||||
predicateDeclaration->isExternal = true;
|
||||
|
Loading…
Reference in New Issue
Block a user