Skip to content

Commit

Permalink
deprecate field_of_fractions(O::GenOrd) (#1240)
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-roehrich authored Oct 12, 2023
1 parent a58c415 commit 08c93fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 3 additions & 0 deletions src/Deprecations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@

@deprecate any_root(f::Hecke.AbstractAlgebra.Generic.Poly, F::Hecke.RelFinField) any_root(F, f)

# Deprecated during 0.22.*

@deprecate field_of_fractions(O::GenOrd) function_field(O::GenOrd)

# Things that moved to Nemo

Expand Down
5 changes: 0 additions & 5 deletions src/FunField/Divisor.jl
Original file line number Diff line number Diff line change
Expand Up @@ -171,15 +171,10 @@ function ideals(D)
end

@doc raw"""
field_of_fractions(O::GenOrd) -> FunctionField
function_field(O::GenOrd) -> FunctionField
Return the function field of O.
"""
function field_of_fractions(O::GenOrd)
return O.F
end

function function_field(O::GenOrd)
return O.F
end
Expand Down

0 comments on commit 08c93fe

Please sign in to comment.