Skip to content

Commit

Permalink
fix: make compiler happy
Browse files Browse the repository at this point in the history
  • Loading branch information
thofma committed Feb 16, 2024
1 parent 952c816 commit 04a64b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "AbstractAlgebra"
uuid = "c3fe647b-3220-5bb0-a1ea-a7954cac585d"
version = "0.39.0"
version = "0.39.1"

[deps]
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
Expand Down
2 changes: 1 addition & 1 deletion src/generic/MPoly.jl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ ring.
"""
function gens(a::MPolyRing{T}) where {T <: RingElement}
n = a.num_vars
return [gen(a, i, Val{a.ord}) for i in 1:n]
return elem_type(a)[gen(a, i, Val{a.ord})::elem_type(a) for i in 1:n]
end

@doc raw"""
Expand Down

0 comments on commit 04a64b4

Please sign in to comment.