Skip to content

Commit ddbcc12

Browse files
committed
Added tests for PSparseMatrix copyto!
1 parent 5f58584 commit ddbcc12

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/p_sparse_matrix_tests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ function p_sparse_matrix_tests(distribute)
6363
_A = similar(A)
6464
_A = similar(A,eltype(A),axes(A))
6565
#_A = similar(typeof(A),axes(A)) # This should work, but fails down the line in SparseArrays.jl
66+
copy!(_A,A)
6667

6768
LinearAlgebra.fillstored!(A,1.0)
6869
fill!(x,3.0)

0 commit comments

Comments
 (0)