Skip to content

Commit

Permalink
Remove Rational{BigInt}(::QQFieldElem) method
Browse files Browse the repository at this point in the history
An equivalent method now is in Nemo
  • Loading branch information
fingolfin committed Oct 8, 2023
1 parent ca9da35 commit 4a2bd4e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Misc/Integer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand Down

0 comments on commit 4a2bd4e

Please sign in to comment.