mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2025-01-07 13:10:28 +01:00
add setindex!(::DirectProductGroupElem)
This commit is contained in:
parent
5ac1ea7ba8
commit
8a40d76143
@ -126,6 +126,11 @@ function Base.setindex!(g::DirectProductGroupElem{T}, v::T, i::Int) where {T}
|
|||||||
return g
|
return g
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function Base.setindex!(g::DirectProductGroupElem{T}, v::S, i::Int) where {T, S}
|
||||||
|
g.elts[i] = parent(g.elts[i])(v)
|
||||||
|
return g
|
||||||
|
end
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
#
|
#
|
||||||
# DirectProductGroup / DirectProductGroupElem constructors
|
# DirectProductGroup / DirectProductGroupElem constructors
|
||||||
|
Loading…
Reference in New Issue
Block a user