Skip to content

Commit a13770a

Browse files
oyamadclaude
andcommitted
Use the local generator in the reducible benchmark case
After the rebase on #394, the unprefixed name resolves to the package export of random_stochastic_matrix rather than the local generator, against the stated independence of the benchmark models from markov/random_mc.jl. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent ae2c1f3 commit a13770a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

benchmark/mc_tools.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ let grp = suite["stationary_distributions"] = BenchmarkGroup()
101101
grp["sparse_n300_k4"] = @benchmarkable stationary_distributions(
102102
$mc_sparse_small)
103103
P_red = zeros(200, 200)
104-
P_red[1:100, 1:100] = random_stochastic_matrix(new_mc_rng(), 100)
105-
P_red[101:200, 101:200] = random_stochastic_matrix(new_mc_rng(), 100)
104+
P_red[1:100, 1:100] = mc_random_stochastic_matrix(new_mc_rng(), 100)
105+
P_red[101:200, 101:200] = mc_random_stochastic_matrix(new_mc_rng(), 100)
106106
grp["dense_n200_reducible"] = @benchmarkable stationary_distributions(
107107
$(MarkovChain(P_red)))
108108
end

0 commit comments

Comments
 (0)