summaryrefslogtreecommitdiff
path: root/src/theory/builtin
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2011-09-02 17:56:43 +0000
committerMorgan Deters <mdeters@gmail.com>2011-09-02 17:56:43 +0000
commit487e610b88f2a634e3285886ff96717c103338de (patch)
tree7f034b5c9f537195df72ac9ecd7666226dc2ed9f /src/theory/builtin
parent90267f8729799f44c6fb33ace11b971a16e78dff (diff)
Partial merge of integers work; this is simple B&B and some pseudoboolean
infrastructure, and takes care not to affect CVC4's performance on LRA benchmarks.
Diffstat (limited to 'src/theory/builtin')
-rw-r--r--src/theory/builtin/theory_builtin_type_rules.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/builtin/theory_builtin_type_rules.h b/src/theory/builtin/theory_builtin_type_rules.h
index f343848d8..3bfb7fdc5 100644
--- a/src/theory/builtin/theory_builtin_type_rules.h
+++ b/src/theory/builtin/theory_builtin_type_rules.h
@@ -90,7 +90,7 @@ class EqualityTypeRule {
throw TypeCheckingExceptionPrivate(n, ss.str());
}
- if ( lhsType == booleanType ) {
+ if ( lhsType == booleanType && rhsType == booleanType ) {
throw TypeCheckingExceptionPrivate(n, "equality between two boolean terms (use IFF instead)");
}
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback