Minor refactoring

This commit is contained in:
Patrick Lühne 2018-04-19 15:58:30 +02:00 committed by Patrick Lühne
parent e15a6b2e88
commit d66d3557c1
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -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();