This commit is contained in:
Patrick Lühne 2018-04-19 16:56:56 +02:00
parent 7bde7c498f
commit 862d03881a
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -142,7 +142,7 @@ struct VariableDomainInFormulaVisitor
static ast::Domain visit(ast::Biconditional &biconditional, ast::VariableDeclaration &variableDeclaration) static ast::Domain visit(ast::Biconditional &biconditional, ast::VariableDeclaration &variableDeclaration)
{ {
const auto leftDomain = biconditional.left.accept(VariableDomainInFormulaVisitor(), variableDeclaration); const auto leftDomain = biconditional.left.accept(VariableDomainInFormulaVisitor(), variableDeclaration);
const auto rightDomain = biconditional.left.accept(VariableDomainInFormulaVisitor(), variableDeclaration); const auto rightDomain = biconditional.right.accept(VariableDomainInFormulaVisitor(), variableDeclaration);
if (leftDomain == ast::Domain::General || rightDomain == ast::Domain::General) if (leftDomain == ast::Domain::General || rightDomain == ast::Domain::General)
return ast::Domain::General; return ast::Domain::General;