From 9989d5a4bd7b8bbbd36d756e9dc649ecf48accd4 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 3 Nov 2023 10:38:43 +0100 Subject: [PATCH] Deprecate power_series_ring variant ... with weights as second argument instead of as kwarg --- src/Deprecations.jl | 4 ++++ src/generic/AbsMSeries.jl | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Deprecations.jl b/src/Deprecations.jl index 5c2dcb04d7..b7143c3905 100644 --- a/src/Deprecations.jl +++ b/src/Deprecations.jl @@ -24,3 +24,7 @@ end # deprecated in 0.32.x @deprecate mat(f::Map(FPModuleHomomorphism)) matrix(f::Map(FPModuleHomomorphism)) + +# deprecated in 0.34.x +@deprecate power_series_ring(R::AbstractAlgebra.Ring, weights::Vector{Int}, + prec::Int, s::Vector{Symbol}; kw...) = power_series_ring(R, prec, s; weights, kw...) diff --git a/src/generic/AbsMSeries.jl b/src/generic/AbsMSeries.jl index 1dea210f87..e4e1c05607 100644 --- a/src/generic/AbsMSeries.jl +++ b/src/generic/AbsMSeries.jl @@ -745,7 +745,3 @@ function power_series_ring(R::AbstractAlgebra.Ring, prec::Int, return parent_obj, gens(parent_obj) end - -power_series_ring(R::AbstractAlgebra.Ring, weights::Vector{Int}, - prec::Int, s::Vector{Symbol}; kw... - ) = power_series_ring(R, prec, s; weights, kw...)