mirror of
https://github.com/Z3Prover/z3
synced 2025-05-11 17:54:43 +00:00
parent
de9bc930e9
commit
7996472923
3 changed files with 14 additions and 3 deletions
|
@ -1237,8 +1237,10 @@ theory_diff_logic<Ext>::maximize(theory_var v, expr_ref& blocker, bool& has_shar
|
|||
if (is_simplex_edge(v)) {
|
||||
unsigned edge_id = simplex2edge(v);
|
||||
literal lit = m_graph.get_explanation(edge_id);
|
||||
get_context().literal2expr(lit, tmp);
|
||||
core.push_back(tmp);
|
||||
if (lit != null_literal) {
|
||||
get_context().literal2expr(lit, tmp);
|
||||
core.push_back(tmp);
|
||||
}
|
||||
}
|
||||
}
|
||||
compute_delta();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue