mirror of
https://github.com/Z3Prover/z3
synced 2025-05-03 22:05:45 +00:00
consolidate model.compact and model_compress #2704
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
1a9dfc5e80
commit
cb600a9329
10 changed files with 12 additions and 20 deletions
|
@ -1674,9 +1674,9 @@ void cmd_context::display_dimacs() {
|
|||
void cmd_context::display_model(model_ref& mdl) {
|
||||
if (mdl) {
|
||||
if (m_mc0) (*m_mc0)(mdl);
|
||||
if (m_params.m_model_compress) mdl->compress();
|
||||
add_declared_functions(*mdl);
|
||||
model_params p;
|
||||
if (p.compact()) mdl->compress();
|
||||
add_declared_functions(*mdl);
|
||||
if (p.v1() || p.v2()) {
|
||||
std::ostringstream buffer;
|
||||
model_v2_pp(buffer, *mdl, p.partial());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue