Skip to content

Commit 2b2e40c

Browse files
committed
actually fix tests
1 parent 55d514a commit 2b2e40c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ArrayInterfaceCore/test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Aqua.test_all(ArrayInterfaceCore)
1414
@testset "zeromatrix and unsafematrix" begin
1515
for T in (Int, Float32, Float64)
1616
for (vectype, mattype) in ((Vector{T}, Matrix{T}), (SparseVector{T}, SparseMatrixCSC{T, Int}))
17-
v = vectype(rand(3:10, 4))
17+
v = vectype(rand(T, 4))
1818
um = undefmatrix(v)
1919
@test size(um) == (length(v),length(v))
2020
@test typeof(um) == mattype

0 commit comments

Comments
 (0)