diff --git a/src/algorithms/coprime_base.jl b/src/algorithms/coprime_base.jl index ecc9da08f..796402a85 100644 --- a/src/algorithms/coprime_base.jl +++ b/src/algorithms/coprime_base.jl @@ -53,7 +53,7 @@ function coprime_base(S::Vector{E}) where {E <: RingElement} return coprime_base_steel(S) end -function coprime_base_steel(S::Vector) +function coprime_base_steel(S::Vector{E}) where {E} @assert !isempty(S) T = Array{E}(undef, 1) T[1] = S[1]