mirror of
https://github.com/Z3Prover/z3
synced 2025-04-04 16:44:07 +00:00
marco: immediately shrink to core if not subset (#5203)
Small improvement, found while translating it in another system
This commit is contained in:
parent
8263d20e0d
commit
a52b485d9c
|
@ -177,6 +177,7 @@ def enumerate_sets(csolver, map):
|
|||
yield ("MSS", csolver.to_c_lits(MSS))
|
||||
map.block_down(MSS)
|
||||
else:
|
||||
seed = csolver.seed_from_core()
|
||||
MUS = csolver.shrink(seed)
|
||||
yield ("MUS", csolver.to_c_lits(MUS))
|
||||
map.block_up(MUS)
|
||||
|
|
Loading…
Reference in a new issue