Skip to content

Commit

Permalink
Prepare for name printing changes in AA (oscar-system#3318)
Browse files Browse the repository at this point in the history
* Prepare for name printing changes in AA

* Adjust doctests
  • Loading branch information
lgoettgens authored Feb 6, 2024
1 parent a91222c commit 1422351
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Rings/MPolyQuo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1577,7 +1577,7 @@ julia> HC = gens(L[1]);
julia> EMB = L[2]
Map defined by a julia-function with inverse
from homogeneous component of graded multivariate polynomial ring in 5 variables over QQ of degree [2, 1]
from S_[2 1] of dim 9
to graded multivariate polynomial ring in 5 variables over QQ
julia> for i in 1:length(HC) println(EMB(HC[i])) end
Expand Down
4 changes: 2 additions & 2 deletions src/Rings/mpoly-graded.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,7 @@ base_ring(f::MPolyDecRingElem) = base_ring(forget_decoration(f))

function show_homo_comp(io::IO, M)
(W, d) = get_attribute(M, :data)
n = get_attribute(W, :name)
n = AbstractAlgebra.find_name(W)
io = pretty(io)
if n !== nothing
print(io, LowercaseOff(), "$(n)_$(d.coeff) of dim $(dim(M))")
Expand Down Expand Up @@ -1290,7 +1290,7 @@ Z^2
julia> L = homogeneous_component(S, [1, 1]);
julia> L[1]
homogeneous component of graded multivariate polynomial ring in 5 variables over QQ of degree [1 1]
S_[1 1] of dim 6
julia> FG = gens(L[1]);
Expand Down

0 comments on commit 1422351

Please sign in to comment.