Skip to content

Commit

Permalink
Revert "Update Mpoly printing" (#1590)
Browse files Browse the repository at this point in the history
* Revert "Update Mpoly printing (#1589)"
  • Loading branch information
lgoettgens authored Feb 1, 2024
1 parent defc318 commit 14b8c2b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 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.37.2"
version = "0.37.3"

[deps]
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
Expand Down
4 changes: 0 additions & 4 deletions src/MPoly.jl
Original file line number Diff line number Diff line change
Expand Up @@ -560,8 +560,6 @@ end
@enable_all_show_via_expressify MPolyRingElem

function show(io::IO, ::MIME"text/plain", p::MPolyRing)
@show_name(io, p)
@show_special(io, MIME"text/plain"(), p)
max_vars = 5 # largest number of variables to print
n = nvars(p)
print(io, "Multivariate polynomial ring")
Expand All @@ -579,8 +577,6 @@ function show(io::IO, ::MIME"text/plain", p::MPolyRing)
end

function show(io::IO, p::MPolyRing)
@show_name(io, p)
@show_special(io, p)
if get(io, :supercompact, false)
# no nested printing
print(io, "Multivariate polynomial ring")
Expand Down

2 comments on commit 14b8c2b

@lgoettgens
Copy link
Collaborator Author

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/100030

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.37.3 -m "<description of version>" 14b8c2ba9aba7bf3ded6bccda08a3057d5766003
git push origin v0.37.3

Please sign in to comment.