diff options
author | Liana Hadarean <lianahady@gmail.com> | 2015-08-24 11:46:07 +0100 |
---|---|---|
committer | Liana Hadarean <lianahady@gmail.com> | 2015-08-24 17:50:49 +0100 |
commit | 531e7931a33079c4f1213ac56d285c578710ed49 (patch) | |
tree | b259d0df5de49f56ef2dd576c7de88cb41ad6fed /src/theory/bv | |
parent | d455be07def0b09c3eadbe4e602950fddd4aec1c (diff) |
Fix for bv core cardinality lemma generation
Diffstat (limited to 'src/theory/bv')
-rw-r--r-- | src/theory/bv/bv_subtheory_core.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/theory/bv/bv_subtheory_core.cpp b/src/theory/bv/bv_subtheory_core.cpp index 13c31463b..9b8e0677e 100644 --- a/src/theory/bv/bv_subtheory_core.cpp +++ b/src/theory/bv/bv_subtheory_core.cpp @@ -276,6 +276,11 @@ void CoreSolver::buildModel() { for (unsigned j = i + 1; j < representatives.size(); ++j) { TNode a = representatives[i]; TNode b = representatives[j]; + if (a.getKind() == kind::CONST_BITVECTOR && + b.getKind() == kind::CONST_BITVECTOR) { + Assert (a != b); + continue; + } if (utils::getSize(a) == utils::getSize(b)) { equalities.push_back(utils::mkNode(kind::EQUAL, a, b)); } |