Minor refactoring
This commit is contained in:
parent
e15a6b2e88
commit
d66d3557c1
@ -214,7 +214,7 @@ struct StatementVisitor
|
|||||||
if (aritySymbol.type() != Clingo::SymbolType::Number)
|
if (aritySymbol.type() != Clingo::SymbolType::Number)
|
||||||
fail();
|
fail();
|
||||||
|
|
||||||
const size_t arity = arityArgument.data.get<Clingo::Symbol>().number();
|
const size_t arity = aritySymbol.number();
|
||||||
|
|
||||||
if (!context.externalPredicateSignatures)
|
if (!context.externalPredicateSignatures)
|
||||||
context.externalPredicateSignatures.emplace();
|
context.externalPredicateSignatures.emplace();
|
||||||
|
Loading…
Reference in New Issue
Block a user