Skip to content

Commit

Permalink
use MersenneTwister on Julia <1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-Lemmens committed Jun 19, 2024
1 parent 75b2718 commit 4819264
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion AbstractXsdTypes.jl/test/AbstractXsdTypesTests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ using Documenter
using ConcreteStructs
using Random

const RNG = Xoshiro(20231002)
if VERSION < v"1.7"
const RNG = MersenneTwister(20231002)
else
const RNG = Xoshiro(20231002)
end

include("type_tests.jl")
include(joinpath("restriction_tests", "restriction_tests.jl"))
Expand Down

0 comments on commit 4819264

Please sign in to comment.