Skip to content

Commit

Permalink
Fix the test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrebouchard committed Sep 19, 2023
1 parent 4f58c82 commit 6ca448e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_auto_mala.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ auto_mala(target) =
n_chains = 1, n_rounds = 10, record = record_online())

@testset "Scaling law" begin
scalings, cost_plot, ess_plot = scaling_plot(10, 1, [auto_mala])
@test abs(scalings[:auto_mala] - 1.33) < 0.15
tuple = scaling_plot(10, 1, [auto_mala])
@test abs(tuple.slopes[:auto_mala] - 1.33) < 0.15
end

@testset "Step size convergence" begin
Expand Down

0 comments on commit 6ca448e

Please sign in to comment.