mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 03:45:51 +00:00
Tabs, formatting.
This commit is contained in:
parent
8871cb120a
commit
00651f8f21
63 changed files with 715 additions and 717 deletions
|
@ -63,8 +63,8 @@ namespace polynomial {
|
|||
public:
|
||||
void set_degree(var x, unsigned d) { m_var2degree.setx(x, d, 0); }
|
||||
unsigned degree(var x) const { return m_var2degree.get(x, 0); }
|
||||
void display(std::ostream & out) const;
|
||||
friend std::ostream & operator<<(std::ostream & out, var2degree const & ideal) { ideal.display(out); return out; }
|
||||
void display(std::ostream & out) const;
|
||||
friend std::ostream & operator<<(std::ostream & out, var2degree const & ideal) { ideal.display(out); return out; }
|
||||
};
|
||||
|
||||
template<typename ValManager, typename Value = typename ValManager::numeral>
|
||||
|
|
|
@ -434,11 +434,11 @@ namespace upolynomial {
|
|||
m().reset(r[i]);
|
||||
}
|
||||
for (unsigned i = 0; i < sz; i++) {
|
||||
typename polynomial::monomial * mon = pm.get_monomial(p, i);
|
||||
if (pm.size(mon) == 0) {
|
||||
typename polynomial::monomial * mon = pm.get_monomial(p, i);
|
||||
if (pm.size(mon) == 0) {
|
||||
m().set(r[0], pm.coeff(p, i));
|
||||
} else if (pm.size(mon) == 1 && pm.get_var(mon, 0) == x) {
|
||||
unsigned m_deg_x = pm.degree(mon, 0);
|
||||
} else if (pm.size(mon) == 1 && pm.get_var(mon, 0) == x) {
|
||||
unsigned m_deg_x = pm.degree(mon, 0);
|
||||
m().set(r[m_deg_x], pm.coeff(p, i));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue