mirror of
https://github.com/Z3Prover/z3
synced 2026-04-27 22:33:35 +00:00
play nice with sanitizers
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
6f65051f2c
commit
f4472927c0
5 changed files with 14 additions and 5 deletions
|
|
@ -136,10 +136,17 @@ public:
|
|||
|
||||
void del(mpz & a) { mpz_manager<SYNCH>::del(a); }
|
||||
|
||||
|
||||
void del(mpq & a) {
|
||||
del(a.m_num);
|
||||
del(a.m_den);
|
||||
}
|
||||
|
||||
static void del(mpq_manager* m, mpq & a) {
|
||||
mpz_manager<SYNCH>::del(m, a.m_num);
|
||||
mpz_manager<SYNCH>::del(m, a.m_den);
|
||||
}
|
||||
|
||||
|
||||
void get_numerator(mpq const & a, mpz & n) { set(n, a.m_num); }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue