Skip to content

Commit

Permalink
fix: typo in coprime base (Nemocas#1798)
Browse files Browse the repository at this point in the history
  • Loading branch information
thofma authored Sep 18, 2024
1 parent f38433a commit 0f40154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/algorithms/coprime_base.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 0f40154

Please sign in to comment.