From 4a2bd4e73b1440cfd73aab6c7f783e66b0a0b2d1 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 8 Oct 2023 23:43:56 +0200 Subject: [PATCH] Remove Rational{BigInt}(::QQFieldElem) method An equivalent method now is in Nemo --- src/Misc/Integer.jl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Misc/Integer.jl b/src/Misc/Integer.jl index b6cd15249c..b4c9bc5dd4 100644 --- a/src/Misc/Integer.jl +++ b/src/Misc/Integer.jl @@ -416,10 +416,6 @@ function _factors_trial_division(n::ZZRingElem, np::Int=10^5) end -function (::Type{Base.Rational{BigInt}})(x::QQFieldElem) - return Rational{BigInt}(BigInt(numerator(x)), BigInt(denominator(x))) -end - export euler_phi_inv, Divisors, carmichael_lambda @doc raw"""