diff options
author | Tim King <taking@cs.nyu.edu> | 2012-05-19 17:24:52 +0000 |
---|---|---|
committer | Tim King <taking@cs.nyu.edu> | 2012-05-19 17:24:52 +0000 |
commit | 7a1139538caede03eb279a7b13ef7476bebd4736 (patch) | |
tree | 3d0d8eea13869c7314c3e17fa524a8d1174ae9d9 /src/theory/arith | |
parent | ea8139dc7b727bf48bd7b7c6b169d763618a1f2a (diff) |
- The array type rules were fixed to use isSubtypeOf.
- The type of (kind::DIVISION x y) is RealType.
- A reference to util/pseudoboolean.i was removed.
- rec5.cvc is disabled for now. The type of 2 is Integer which is not a subtype of [0..11].
Diffstat (limited to 'src/theory/arith')
-rw-r--r-- | src/theory/arith/theory_arith_type_rules.h | 3 |
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 */ |