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 41f5d4b commit 7577d2eCopy full SHA for 7577d2e
test/gbarray.jl
@@ -26,14 +26,14 @@
26
end
27
@testset "sparse" begin
28
#Construction and indexing correct for sparse matrices
29
- x = sprand(Int32, 10000, 10000, 0.001)
+ x = sprand(Int32, 1000, 1000, 0.001)
30
m = GBMatrix(x)
31
@test nnz(x) == nnz(m)
32
mnz = findnz(m) #This has occasional "GrB_INSUFFICIENT_SPACE" errors...
33
xnz = findnz(x)
34
@test mnz == xnz
35
36
- x = sprand(UInt8, 10000, 0.05)
+ x = sprand(UInt8, 1000, 0.05)
37
v = GBVector(x)
38
@test nnz(v) == nnz(x)
39
vnz = findnz(v)
0 commit comments