diff options
author | Clark Barrett <barrett@cs.nyu.edu> | 2012-11-15 02:14:42 +0000 |
---|---|---|
committer | Clark Barrett <barrett@cs.nyu.edu> | 2012-11-15 02:14:42 +0000 |
commit | dc0372a91ae46e6fc5ead1f51a1fe033cfd19944 (patch) | |
tree | a45d1ae09a4026f516af9e68e37cab4cc76d2506 /src/theory/bv | |
parent | 0cf2cf65658ce8128d0cc87d6a9714b5284d45c4 (diff) |
Fixed another AUFBV model bug. BV equality subtheory needed to do something
similar to arrays - limit the set of terms reported to those relevant in the
current context. Also removed collectModelInfo from sharedTermsDatabase -
doesn't seem to be needed any more.
Diffstat (limited to 'src/theory/bv')
-rw-r--r-- | src/theory/bv/bv_subtheory_eq.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/theory/bv/bv_subtheory_eq.cpp b/src/theory/bv/bv_subtheory_eq.cpp index e809a2566..f8e6882a9 100644 --- a/src/theory/bv/bv_subtheory_eq.cpp +++ b/src/theory/bv/bv_subtheory_eq.cpp @@ -174,5 +174,7 @@ void EqualitySolver::collectModelInfo(TheoryModel* m) { << *it << ")\n"; } } - m->assertEqualityEngine(&d_equalityEngine); + set<Node> termSet; + d_bv->computeRelevantTerms(termSet); + m->assertEqualityEngine(&d_equalityEngine, &termSet); } |