From 862d03881a6f0829f8b54a1170b723e98fb26d09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20L=C3=BChne?= Date: Thu, 19 Apr 2018 16:56:56 +0200 Subject: [PATCH] Fix typo --- src/anthem/IntegerVariableDetection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/anthem/IntegerVariableDetection.cpp b/src/anthem/IntegerVariableDetection.cpp index 425e3d0..16b78cd 100644 --- a/src/anthem/IntegerVariableDetection.cpp +++ b/src/anthem/IntegerVariableDetection.cpp @@ -142,7 +142,7 @@ struct VariableDomainInFormulaVisitor static ast::Domain visit(ast::Biconditional &biconditional, ast::VariableDeclaration &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) return ast::Domain::General;