Skip to content

Commit 1453743

Browse files
committed
rm _sparse
1 parent 54a98b0 commit 1453743

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/basic.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ for op in (
359359
end
360360

361361
Base.convert(::Type{AbstractMatrix}, L::AddedOperator) = sum(op -> convert(AbstractMatrix, op), L.ops)
362-
SparseArrays.sparse(L::AddedOperator) = sum(_sparse, L.ops)
362+
SparseArrays.sparse(L::AddedOperator) = sum(sparse, L.ops)
363363

364364
# traits
365365
Base.size(L::AddedOperator) = size(first(L.ops))
@@ -491,7 +491,7 @@ for op in (
491491
end
492492

493493
Base.convert(::Type{AbstractMatrix}, L::ComposedOperator) = prod(op -> convert(AbstractMatrix, op), L.ops)
494-
SparseArrays.sparse(L::ComposedOperator) = prod(_sparse, L.ops)
494+
SparseArrays.sparse(L::ComposedOperator) = prod(sparse, L.ops)
495495

496496
# traits
497497
Base.size(L::ComposedOperator) = (size(first(L.ops), 1), size(last(L.ops),2))

0 commit comments

Comments
 (0)