Skip to content

Commit fec76cb

Browse files
committed
Zero test and format
1 parent b77b9bb commit fec76cb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/onemkl.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,6 +1093,7 @@ end
10931093
C = oneSparseMatrixCSR(B.rowPtr, B.colVal, B.nzVal, size(B))
10941094
A3 = SparseMatrixCSC(C)
10951095
@test A == A3
1096+
D = oneSparseMatrixCSR(S[], S[], T[], (0,0)) # empty matrix
10961097
end
10971098
end
10981099

@@ -1107,6 +1108,7 @@ end
11071108
C = oneSparseMatrixCSC(A.colptr |> oneVector, A.rowval |> oneVector, A.nzval |> oneVector, size(A))
11081109
A3 = SparseMatrixCSC(C)
11091110
@test A == A3
1111+
D = oneSparseMatrixCSC(S[], S[], T[], (0,0)) # empty matrix
11101112
end
11111113
end
11121114

0 commit comments

Comments
 (0)