Skip to content

Commit 8e7ebf1

Browse files
committed
Improving coverage
1 parent d769465 commit 8e7ebf1

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

test/p_sparse_matrix_tests.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,10 @@ function p_sparse_matrix_tests(distribute)
339339
C,cacheC = rap(transpose(A),A,A;reuse=true)
340340
rap!(C,transpose(A),A,A,cacheC)
341341

342+
r = pzeros(partition(axes(A,2)))
343+
x = pones(partition(axes(A,1)))
344+
mul!(r,transpose(A),x)
345+
342346
B = LinearAlgebra.I-A
343347

344348
end

test/sparse_utils_tests.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ function test_mat(T)
9090
A,Acache = sparse_matrix(I,J,V,m,n;reuse=true)
9191
sparse_matrix!(A,V,Acache)
9292

93+
d = dense_diag(A)
94+
PartitionedArrays.sparse_diag_matrix(d,axes(A))
95+
9396
end
9497

9598
test_mat(SparseMatrixCSC{Float64,Int})

0 commit comments

Comments
 (0)