diff --git a/src/Groups/abelian_aut.jl b/src/Groups/abelian_aut.jl index f06dd1230d31..7e1ac3fc9a4e 100644 --- a/src/Groups/abelian_aut.jl +++ b/src/Groups/abelian_aut.jl @@ -377,7 +377,7 @@ By default, the function checks whether `i` is injective and whether `i` is a torsion quadratic module morphism. One can disable these checks by setting `check = false`. """ -function restrict_automorphism_group(G::AutomorphismGroup{TorQuadModule}, i::TorQuadModuleMor, check::Bool = true) +function restrict_automorphism_group(G::AutomorphismGroup{TorQuadModule}, i::TorQuadModuleMor; check::Bool = true) if check @req is_injective(i) "i must be an injection" diff --git a/src/deprecations.jl b/src/deprecations.jl index f0f8dc13f594..f0617346bdb3 100644 --- a/src/deprecations.jl +++ b/src/deprecations.jl @@ -366,6 +366,7 @@ end # Deprecated after 0.13.0 @deprecate fan(v::NormalToricVarietyType) polyhedral_fan(v) +@deprecate restrict_automorphism_group(G::AutomorphismGroup{TorQuadModule}, i::TorQuadModuleMor, check::Bool) restrict_automorphism_group(G, i; check) # Polyhedral object wrappers now require a parent field function Cone{T}(obj::Polymake.BigObject) where T<:scalar_types