mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 02:15:19 +00:00
#4525 regression in model generation
This commit is contained in:
parent
e3d1849be2
commit
e683f4be21
|
@ -1565,9 +1565,10 @@ public:
|
|||
if (m_variable_values.count(t.index()) > 0)
|
||||
return m_variable_values[t.index()];
|
||||
|
||||
if (!t.is_term()) {
|
||||
if (!t.is_term() && lp().is_fixed(t.id()))
|
||||
return lp().column_lower_bound(t.id()).x;
|
||||
if (!t.is_term())
|
||||
return rational::zero();
|
||||
}
|
||||
|
||||
m_todo_terms.push_back(std::make_pair(t, rational::one()));
|
||||
rational result(0);
|
||||
|
|
Loading…
Reference in a new issue