mirror of
https://github.com/Z3Prover/z3
synced 2025-04-07 09:55:19 +00:00
Check if model_converter is non-null before initializing values in sat_tactic
This commit is contained in:
parent
5a6dc18d0d
commit
0604d23c57
|
@ -43,7 +43,8 @@ class sat_tactic : public tactic {
|
|||
}
|
||||
|
||||
void initialize_values(goal_ref const& g, atom2bool_var& map) {
|
||||
g->mc()->convert_initialize_value(m_var2value);
|
||||
if (g->mc())
|
||||
g->mc()->convert_initialize_value(m_var2value);
|
||||
for (auto & [var, value] : m_var2value) {
|
||||
if (!m.is_bool(var))
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue