Skip to content

Commit c610962

Browse files
committed
runic
1 parent b1e999c commit c610962

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/abstractextendablesparsematrixcsc.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Base.eltype(::AbstractExtendableSparseMatrixCSC{Tv, Ti}) where {Tv, Ti} = Tv
111111
112112
Return element type.
113113
"""
114-
SparseArrays.indtype(A::AbstractExtendableSparseMatrixCSC{Tv, Ti}) where {Tv, Ti} = Ti
114+
SparseArrays.indtype(A::AbstractExtendableSparseMatrixCSC{Tv, Ti}) where {Tv, Ti} = Ti
115115

116116
"""
117117
SparseArrays.SparseMatrixCSC(A::AbstractExtendableSparseMatrixCSC)
@@ -371,10 +371,10 @@ end
371371
372372
Efficient sum of ExtendableSparse matrices.
373373
"""
374-
function Base.sum(M::AbstractVector{TM}) where TM<:AbstractExtendableSparseMatrixCSC
374+
function Base.sum(M::AbstractVector{TM}) where {TM <: AbstractExtendableSparseMatrixCSC}
375375
Ti = promote_type(indtype.(M)...)
376376
Tv = promote_type(eltype.(M)...)
377-
return _sum(M,Tv,Ti)
377+
return _sum(M, Tv, Ti)
378378
end
379379

380380
function _sum(M, ::Type{Tv}, ::Type{Ti}) where {Tv, Ti}

0 commit comments

Comments
 (0)