mirror of
https://github.com/Z3Prover/z3
synced 2025-07-19 10:52:02 +00:00
parent
6b319f9ac3
commit
47bd06338e
2 changed files with 6 additions and 3 deletions
|
@ -934,8 +934,8 @@ bool theory_arith<Ext>::propagate_linear_monomial(theory_var v) {
|
||||||
new_lower = alloc(derived_bound, v, inf_numeral(k), B_LOWER);
|
new_lower = alloc(derived_bound, v, inf_numeral(k), B_LOWER);
|
||||||
new_upper = alloc(derived_bound, v, inf_numeral(k), B_UPPER);
|
new_upper = alloc(derived_bound, v, inf_numeral(k), B_UPPER);
|
||||||
}
|
}
|
||||||
SASSERT(new_lower != 0);
|
SASSERT(new_lower);
|
||||||
SASSERT(new_upper != 0);
|
SASSERT(new_upper);
|
||||||
m_bounds_to_delete.push_back(new_lower);
|
m_bounds_to_delete.push_back(new_lower);
|
||||||
m_asserted_bounds.push_back(new_lower);
|
m_asserted_bounds.push_back(new_lower);
|
||||||
m_bounds_to_delete.push_back(new_upper);
|
m_bounds_to_delete.push_back(new_upper);
|
||||||
|
|
|
@ -677,7 +677,10 @@ namespace smt {
|
||||||
|
|
||||||
template<typename Ext>
|
template<typename Ext>
|
||||||
bool theory_utvpi<Ext>::enable_edge(edge_id id) {
|
bool theory_utvpi<Ext>::enable_edge(edge_id id) {
|
||||||
return (id == null_edge_id) || (m_graph.enable_edge(id) && m_graph.enable_edge(id+1));
|
return
|
||||||
|
(id == null_edge_id) ||
|
||||||
|
(m_graph.enable_edge(id) && m_graph.enable_edge(id+1)) ||
|
||||||
|
m_non_utvpi_exprs;
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename Ext>
|
template<typename Ext>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue