mirror of
https://github.com/Z3Prover/z3
synced 2025-04-13 12:28:44 +00:00
parent
0735491557
commit
8d59355b88
|
@ -159,6 +159,10 @@ public:
|
|||
|
||||
// a is the coefficient by which we divided the term to normalize it
|
||||
lar_term get_normalized_by_min_var(mpq& a) const {
|
||||
if (m_coeffs.empty()) {
|
||||
a = mpq(1, 1);
|
||||
return *this;
|
||||
}
|
||||
a = m_coeffs.begin()->m_value;
|
||||
if (a.is_one()) {
|
||||
return *this;
|
||||
|
|
Loading…
Reference in a new issue