Skip to content

Commit 3cc7063

Browse files
committed
add deprecation
1 parent 209a1ba commit 3cc7063

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/FillArraysSparseArraysExt.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ function SparseMatrixCSC{Tv,Ti}(R::RectOrDiagonalFill) where {Tv,Ti}
5353
SparseMatrixCSC{Tv,Ti}(J, size(R))
5454
end
5555

56-
kron(E1::RectDiagonalFill, E2::RectDiagonalFill) = kron(sparse(E1), sparse(E2))
56+
# TODO: remove in v2.0
57+
@deprecate kron(E1::RectDiagonalFill, E2::RectDiagonalFill) kron(sparse(E1), sparse(E2))
5758

5859
end # module

0 commit comments

Comments
 (0)