3
0
Fork 0
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:
Nikolaj Bjorner 2024-01-20 12:57:43 -08:00
parent d2706bab64
commit a2993f7457
2 changed files with 33 additions and 28 deletions

View file

@ -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) {