From 08c93fee7ff5a388d3cfafc1b040e3aa658ecd9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20R=C3=B6hrich?= <47457568+felix-roehrich@users.noreply.github.com> Date: Thu, 12 Oct 2023 13:20:27 +0200 Subject: [PATCH] deprecate `field_of_fractions(O::GenOrd)` (#1240) --- src/Deprecations.jl | 3 +++ src/FunField/Divisor.jl | 5 ----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/Deprecations.jl b/src/Deprecations.jl index e842888d5b..0845d23c39 100644 --- a/src/Deprecations.jl +++ b/src/Deprecations.jl @@ -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 diff --git a/src/FunField/Divisor.jl b/src/FunField/Divisor.jl index ff44c5d7b3..84cdd633db 100644 --- a/src/FunField/Divisor.jl +++ b/src/FunField/Divisor.jl @@ -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