Skip to content

Commit

Permalink
fix: make compiler happy (#1611)
Browse files Browse the repository at this point in the history
  • Loading branch information
thofma authored Feb 16, 2024
1 parent 952c816 commit 0b5e698
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

2 comments on commit 0b5e698

@thofma
Copy link
Member Author

@thofma thofma commented on 0b5e698 Feb 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/101027

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.39.1 -m "<description of version>" 0b5e6988a470ee9b187554355e301e6f528785f7
git push origin v0.39.1

Please sign in to comment.