Skip to content

Commit

Permalink
Add some missing supertypes
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Jan 29, 2024
1 parent dede844 commit fb1698f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Rings/FreeAssAlgIdeal.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
# necessarily be confined to a degree bound.

@doc raw"""
mutable struct FreeAssAlgIdeal{T} <: FreeAssAlgIdeal{T}
mutable struct FreeAssAlgIdeal{T}
Two-sided ideal of a free associative algebra with elements of type `T`.
"""
mutable struct FreeAssAlgIdeal{T}
mutable struct FreeAssAlgIdeal{T} <: Ideal{T}
gens::IdealGens{T}
gb::IdealGens{T}

Expand Down
2 changes: 1 addition & 1 deletion src/Rings/Laurent.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import AbstractAlgebra: LaurentMPolyRing, LaurentMPolyRingElem
end
end

mutable struct LaurentMPolyIdeal{T}
mutable struct LaurentMPolyIdeal{T} <: Ideal{T}
R
gens::Vector{T}
data # ideal of of _polyringquo(R)
Expand Down
2 changes: 1 addition & 1 deletion src/Rings/PBWAlgebra.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ mutable struct PBWAlgElem{T, S} <: NCRingElem
sdata::Singular.spluralg{S}
end

mutable struct PBWAlgIdeal{D, T, S}
mutable struct PBWAlgIdeal{D, T, S} <: Ideal{PBWAlgIdeal{T, S}}
basering::PBWAlgRing{T, S}
sdata::Singular.sideal{Singular.spluralg{S}} # the gens of this ideal, always defined
sopdata::Singular.sideal{Singular.spluralg{S}} # the gens mapped to the opposite
Expand Down

0 comments on commit fb1698f

Please sign in to comment.