Skip to content

Commit 7577d2e

Browse files
author
Will Kimmerer
committed
Smaller test set?
1 parent 41f5d4b commit 7577d2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/gbarray.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@
2626
end
2727
@testset "sparse" begin
2828
#Construction and indexing correct for sparse matrices
29-
x = sprand(Int32, 10000, 10000, 0.001)
29+
x = sprand(Int32, 1000, 1000, 0.001)
3030
m = GBMatrix(x)
3131
@test nnz(x) == nnz(m)
3232
mnz = findnz(m) #This has occasional "GrB_INSUFFICIENT_SPACE" errors...
3333
xnz = findnz(x)
3434
@test mnz == xnz
3535

36-
x = sprand(UInt8, 10000, 0.05)
36+
x = sprand(UInt8, 1000, 0.05)
3737
v = GBVector(x)
3838
@test nnz(v) == nnz(x)
3939
vnz = findnz(v)

0 commit comments

Comments
 (0)