mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
turn off model validation unless specified by parameter
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
0aafa8b7ce
commit
7fb2c6a908
1 changed files with 4 additions and 1 deletions
|
@ -1788,7 +1788,10 @@ namespace sat {
|
|||
|
||||
// m_mc.set_solver(nullptr);
|
||||
m_mc(m_model);
|
||||
|
||||
|
||||
if (!gparams::get_ref().get_bool("model_validate", false)) {
|
||||
return;
|
||||
}
|
||||
if (!check_clauses(m_model)) {
|
||||
IF_VERBOSE(1, verbose_stream() << "failure checking clauses on transformed model\n";);
|
||||
IF_VERBOSE(10, m_mc.display(verbose_stream()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue