From a2b744988154fe2294894fc04fba1b04bb85ca88 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 25 Sep 2024 19:50:46 +0200 Subject: [PATCH] Update src/flint/fmpq.jl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Lars Göttgens --- src/flint/fmpq.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flint/fmpq.jl b/src/flint/fmpq.jl index 6d441e48de..2bbefe047c 100644 --- a/src/flint/fmpq.jl +++ b/src/flint/fmpq.jl @@ -345,7 +345,7 @@ function cmp(a::QQFieldElemOrPtr, b::QQFieldElemOrPtr) end function cmp(a::QQFieldElemOrPtr, b::ZZRingElemOrPtr) - @ccall libflint.fmpq_cmp_fmpz(a::Ref{QQFieldElem}, b::Ref{QQFieldElem})::Cint + @ccall libflint.fmpq_cmp_fmpz(a::Ref{QQFieldElem}, b::Ref{ZZRingElem})::Cint end function cmp(a::QQFieldElemOrPtr, b::Int)