mirror of
https://github.com/kalmarek/GroupRings.jl.git
synced 2024-10-15 07:50:35 +02:00
there is no full on Julia-1.0
This commit is contained in:
parent
490765652d
commit
e8d8686831
@ -202,10 +202,10 @@ end
|
||||
Base.size(X::GroupRingElem) = size(X.coeffs)
|
||||
Base.IndexStyle(::Type{GroupRingElem}) = Base.LinearFast()
|
||||
|
||||
function Base.full(X::GroupRingElem{T, Sp}) where {T, Sp<:SparseVector}
|
||||
return parent(X)(full(X.coeffs))
|
||||
function dense(X::GroupRingElem{T, Sp}) where {T, Sp<:SparseVector}
|
||||
return parent(X)(Vector(X.coeffs))
|
||||
end
|
||||
Base.full(X::GroupRingElem{T, A}) where {T, A<:Vector} = X
|
||||
dense(X::GroupRingElem{T, A}) where {T, A<:Vector} = X
|
||||
|
||||
sparse(X::GroupRingElem{T, Sp}) where {T, Sp<:SparseVector} = X
|
||||
function sparse(X::GroupRingElem{T, A}) where {T, A<:Vector}
|
||||
|
Loading…
Reference in New Issue
Block a user