summaryrefslogtreecommitdiff
path: root/src/theory/arith
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/arith')
-rw-r--r--src/theory/arith/theory_arith_type_rules.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/theory/arith/theory_arith_type_rules.h b/src/theory/arith/theory_arith_type_rules.h
index af358b00d..7a8e0fab4 100644
--- a/src/theory/arith/theory_arith_type_rules.h
+++ b/src/theory/arith/theory_arith_type_rules.h
@@ -64,7 +64,8 @@ public:
}
}
}
- return (isInteger ? integerType : realType);
+ bool isDivision = n.getKind() == kind::DIVISION;
+ return (isInteger && !isDivision ? integerType : realType);
}
};/* class ArithOperatorTypeRule */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback