fix: undefined symbol without LEAN_USE_GMP (#9106)
This PR fixes `undefined symbol: lean::mpz::divexact(lean::mpz const&, lean::mpz const&)` when building without `LEAN_USE_GMP` This fixes a regression in #8089
This commit is contained in:
parent
ba7135d73c
commit
0106ca3bec
1 changed files with 1 additions and 1 deletions
|
|
@ -763,7 +763,7 @@ mpz & mpz::operator%=(mpz const & o) {
|
|||
return rem(o.m_size, o.m_digits);
|
||||
}
|
||||
|
||||
mpz divexact(mpz const & n, mpz const & d) {
|
||||
mpz mpz::divexact(mpz const & n, mpz const & d) {
|
||||
return n / d;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue