Skip to content

Commit

Permalink
Add trivial transpose(::NCRingElem) (#1820)
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens authored Oct 1, 2024
1 parent 3296e67 commit 1268268
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 8 additions & 0 deletions src/NCRings.jl
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,14 @@ one(x::NCRingElem) = one(parent(x))

zero(x::NCRingElem) = zero(parent(x))

################################################################################
#
# Transpose for ring elements
#
################################################################################

transpose(x::T) where {T <: NCRingElem} = deepcopy(x)

###############################################################################
#
# Delayed reduction
Expand Down
8 changes: 0 additions & 8 deletions src/Rings.jl
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,6 @@ function Base.exp(a::RingElem)
return one(parent(a))
end

################################################################################
#
# Transpose for ring elements
#
################################################################################

transpose(x::T) where {T <: RingElem} = deepcopy(x)

###############################################################################
#
# Coprime bases
Expand Down

0 comments on commit 1268268

Please sign in to comment.