Fix ICE on conditions with tuples of rationals

This commit is contained in:
Leonardo Alt
2020-10-23 14:47:53 +01:00
parent 08a27b9c5b
commit d3d77e482c
5 changed files with 38 additions and 6 deletions
+2 -2
View File
@@ -574,8 +574,8 @@ bool SMTEncoder::visit(Conditional const& _op)
defineExpr(_op, smtutil::Expression::ite(
expr(_op.condition()),
expr(_op.trueExpression()),
expr(_op.falseExpression())
expr(_op.trueExpression(), _op.annotation().type),
expr(_op.falseExpression(), _op.annotation().type)
));
return false;