Skip to content

Commit

Permalink
chore: bump Hecke version to 0.27 (oscar-system#3311)
Browse files Browse the repository at this point in the history
Fixes some woes introduced in some of the new type names.
- Remove redundancy for embedded types by using aliases
- use compact printing for abelian group elements in arrays
  • Loading branch information
thofma authored and ooinaruhugh committed Feb 15, 2024
1 parent 8cdeba9 commit 44c9145
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ AlgebraicSolving = "0.4.6"
Distributed = "1.6"
DocStringExtensions = "0.8, 0.9"
GAP = "0.10.2"
Hecke = "0.26.2"
Hecke = "0.27.0"
JSON = "^0.20, ^0.21"
JSON3 = "1.13.2"
LazyArtifacts = "1.6"
Expand Down
4 changes: 2 additions & 2 deletions src/Modules/ModulesGraded.jl
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ Z^2
julia> g = gens(G)
2-element Vector{FinGenAbGroupElem}:
Abelian group element [1, 0]
Abelian group element [0, 1]
[1, 0]
[0, 1]
julia> W = [g[1], g[1], g[2], g[2], g[2]];
Expand Down
2 changes: 1 addition & 1 deletion src/PolyhedralGeometry/Polyhedron/properties.jl
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,7 @@ Number of vertices in each facet.
# Example
```jldoctest
julia> p = johnson_solid(4)
Polytope in ambient dimension 3 with EmbeddedNumFieldElem{AbsSimpleNumFieldElem} type coefficients
Polytope in ambient dimension 3 with EmbeddedAbsSimpleNumFieldElem type coefficients
julia> facet_sizes(p)
10-element Vector{Int64}:
Expand Down
4 changes: 2 additions & 2 deletions src/PolyhedralGeometry/Polyhedron/standard_constructions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ below.
# Examples
```jldoctest
julia> T = platonic_solid("icosahedron")
Polytope in ambient dimension 3 with EmbeddedNumFieldElem{AbsSimpleNumFieldElem} type coefficients
Polytope in ambient dimension 3 with EmbeddedAbsSimpleNumFieldElem type coefficients
julia> number_of_facets(T)
20
Expand Down Expand Up @@ -1906,7 +1906,7 @@ Create an $8$-dimensional polytope without rational realizations due to Perles.
# Example
```jldoctest
julia> perles_nonrational_8_polytope()
Polytope in ambient dimension 8 with EmbeddedNumFieldElem{AbsSimpleNumFieldElem} type coefficients
Polytope in ambient dimension 8 with EmbeddedAbsSimpleNumFieldElem type coefficients
```
"""
perles_nonrational_8_polytope() =
Expand Down
18 changes: 9 additions & 9 deletions src/Rings/mpoly-graded.jl
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,8 @@ Finitely generated abelian group
julia> W = [gen(G, 1)+gen(G, 2), gen(G, 1)]
2-element Vector{FinGenAbGroupElem}:
Abelian group element [1, 1]
Abelian group element [1, 0]
[1, 1]
[1, 0]
julia> S, (x, y) = graded_polynomial_ring(QQ, ["x", "y"]; weights = W)
(Graded multivariate polynomial ring in 2 variables over QQ, MPolyDecRingElem{QQFieldElem, QQMPolyRingElem}[x, y])
Expand Down Expand Up @@ -491,8 +491,8 @@ Z^2
julia> g = gens(G)
2-element Vector{FinGenAbGroupElem}:
Abelian group element [1, 0]
Abelian group element [0, 1]
[1, 0]
[0, 1]
julia> W = [g[1], g[1], g[2], g[2], g[2]];
Expand Down Expand Up @@ -531,11 +531,11 @@ julia> g = gens(G);
julia> W = [g[1]+g[3]+g[4], g[2]+g[4], g[1]+g[3], g[2], g[1]+g[2]]
5-element Vector{FinGenAbGroupElem}:
Abelian group element [1, 0, 1, 1]
Abelian group element [0, 1, 0, 1]
Abelian group element [1, 0, 1, 0]
Abelian group element [0, 1, 0, 0]
Abelian group element [1, 1, 0, 0]
[1, 0, 1, 1]
[0, 1, 0, 1]
[1, 0, 1, 0]
[0, 1, 0, 0]
[1, 1, 0, 0]
julia> S, x = grade(R, W)
(Graded multivariate polynomial ring in 5 variables over QQ, MPolyDecRingElem{QQFieldElem, QQMPolyRingElem}[x[1], x[2], x[3], x[4], x[5]])
Expand Down

0 comments on commit 44c9145

Please sign in to comment.