Skip to content

Commit

Permalink
Merge pull request #26658 from JuliaLang/sb/accumulate2
Browse files Browse the repository at this point in the history
Change accumulation promotion behaviour
  • Loading branch information
JeffBezanson authored Apr 20, 2018
2 parents 9cbab86 + d6b65ed commit 05a3c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sparsematrix.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2306,7 +2306,7 @@ function getindex(A::SparseMatrixCSC{Tv,Ti}, I::AbstractArray) where {Tv,Ti}
end
end
end
colptrB = cumsum(colptrB)
cumsum!(colptrB,colptrB)
if n > (idxB-1)
deleteat!(nzvalB, idxB:n)
deleteat!(rowvalB, idxB:n)
Expand Down

0 comments on commit 05a3c41

Please sign in to comment.