Skip to content

Commit e1d2225

Browse files
mcabbottMichael Abbott
andauthored
add seed before dot tests (#713)
Co-authored-by: Michael Abbott <me@escbook>
1 parent 9c99a90 commit e1d2225

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/runtests.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,11 @@ end
149149
end
150150
end
151151

152-
using LinearAlgebra
152+
using LinearAlgebra, Random
153153

154154
@testset "generalized dot #32739" begin
155+
Random.seed!(42) # https://github.com/JuliaLang/Compat.jl/issues/712
156+
155157
# stdlib/LinearAlgebra/test/generic.jl
156158
for elty in (Int, Float32, Float64, BigFloat, Complex{Float32}, Complex{Float64}, Complex{BigFloat})
157159
n = 10

0 commit comments

Comments
 (0)