From 6ca448e0a83c2efdb55d1df4dc5cd3c585009af4 Mon Sep 17 00:00:00 2001 From: Alexandre Bouchard Date: Tue, 19 Sep 2023 12:56:24 -0700 Subject: [PATCH] Fix the test --- test/test_auto_mala.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_auto_mala.jl b/test/test_auto_mala.jl index c89300278..bd627ca72 100644 --- a/test/test_auto_mala.jl +++ b/test/test_auto_mala.jl @@ -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