Skip to content

Commit 8e132dc

Browse files
committed
Fix seed
1 parent be5a06a commit 8e132dc

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

test/random.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ end;
8181
problem = ColoringProblem(; structure=:nonsymmetric, partition=:bidirectional)
8282
@testset for algo in (
8383
GreedyColoringAlgorithm(
84-
RandomOrder(rng); postprocessing=false, decompression=:direct
84+
RandomOrder(StableRNG(0), 0); postprocessing=false, decompression=:direct
8585
),
8686
GreedyColoringAlgorithm(
87-
RandomOrder(rng); postprocessing=true, decompression=:direct
87+
RandomOrder(StableRNG(0), 0); postprocessing=true, decompression=:direct
8888
),
8989
)
9090
@testset "$((; m, n, p))" for (m, n, p) in asymmetric_params
@@ -102,10 +102,10 @@ end;
102102
problem = ColoringProblem(; structure=:nonsymmetric, partition=:bidirectional)
103103
@testset for algo in (
104104
GreedyColoringAlgorithm(
105-
RandomOrder(rng); postprocessing=false, decompression=:substitution
105+
RandomOrder(StableRNG(0), 0); postprocessing=false, decompression=:substitution
106106
),
107107
GreedyColoringAlgorithm(
108-
RandomOrder(rng); postprocessing=true, decompression=:substitution
108+
RandomOrder(StableRNG(0), 0); postprocessing=true, decompression=:substitution
109109
),
110110
)
111111
@testset "$((; m, n, p))" for (m, n, p) in asymmetric_params

0 commit comments

Comments
 (0)