mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 05:18:44 +00:00
DoC: compact result of subtract
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
This commit is contained in:
parent
cbe23c428f
commit
5211e9aa1a
|
@ -475,7 +475,8 @@ void doc_manager::subtract(doc const& A, doc const& B, doc_vector& result) {
|
|||
if (m.set_and(*t, A.pos())) {
|
||||
r->neg().insert(m, t.detach());
|
||||
}
|
||||
result.push_back(r.detach());
|
||||
if (fold_neg(*r))
|
||||
result.push_back(r.detach());
|
||||
|
||||
for (unsigned i = 0; i < B.neg().size(); ++i) {
|
||||
r = allocate(A);
|
||||
|
|
Loading…
Reference in a new issue