We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bdba87 commit 9ca03beCopy full SHA for 9ca03be
stdlib/SparseArrays/src/sparseconvert.jl
@@ -76,9 +76,6 @@ For other types return A itself.
76
unwrap(A::Any) = A
77
unwrap(A::AbstractMatrix) = iswrsparse(A) ? convert(SparseMatrixCSC, A) : convert(Array, A)
78
79
-import Base.copy
80
-copy(A::SubArray{T,2}) where T = getindex(unwrap(parent(A)), A.indices...)
81
-
82
# For pure sparse matrices and vectors return A.
83
# For wrapped sparse matrices or vectors convert to SparseMatrixCSC.
84
# Handle nested wrappers properly.
0 commit comments