mirror of
https://github.com/Z3Prover/z3
synced 2026-05-01 16:13:44 +00:00
encapsulate mpz a bit more
This commit is contained in:
parent
d2706bab64
commit
a2993f7457
2 changed files with 33 additions and 28 deletions
|
|
@ -47,7 +47,7 @@ class mpq_manager : public mpz_manager<SYNCH> {
|
|||
|
||||
void reset_denominator(mpq & a) {
|
||||
del(a.m_den);
|
||||
a.m_den.m_val = 1;
|
||||
a.m_den.set(1);
|
||||
}
|
||||
|
||||
void normalize(mpq & a) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue