fix function

Co-authored-by: Marc Glisse <marc.glisse@inria.fr>
This commit is contained in:
Sebastien Loriot 2022-06-01 20:16:45 +02:00 committed by GitHub
parent 4ede33059b
commit 65b10f226a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -449,7 +449,7 @@ inline void negate(BigInt& a) {
/// cmpabs
inline int cmpabs(const BigInt& a, const BigInt& b) {
assert(false);
// return mpz_cmpabs(a.get_mp(), b.get_mp()); AF: todo
return cmp(abs(a), abs(b));
return 0;
}