Skip to content

Commit

Permalink
Fix sample_pigeons comparison in test_estimation.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
thorek1 committed Mar 19, 2024
1 parent 39559cf commit 2bb5cc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_estimation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Optim.Fminbox(Optim.LBFGS(linesearch = LineSearches.BackTracking(order = 3))); a
@testset "Estimation results" begin
@test isapprox(sol.minimum, -1343.7491257498598, rtol = eps(Float32))
@test isapprox(sample_nuts, [0.40248024934137033, 0.9905235783816697, 0.004618184988033483, 1.014268215459915, 0.8459140293740781, 0.6851143053372912, 0.0025570276255960107, 0.01373547787288702, 0.003343985776134218], rtol = 1e-2)
@test isapprox(sample_pigeons, [0.40248024934137033, 0.9905235783816697, 0.004618184988033483, 1.014268215459915, 0.8459140293740781, 0.6851143053372912, 0.0025570276255960107, 0.01373547787288702, 0.003343985776134218], rtol = 1e-2)
@test isapprox(sample_pigeons[1:length(sample_nuts)], [0.40248024934137033, 0.9905235783816697, 0.004618184988033483, 1.014268215459915, 0.8459140293740781, 0.6851143053372912, 0.0025570276255960107, 0.01373547787288702, 0.003343985776134218], rtol = 1e-2)
end


Expand Down

0 comments on commit 2bb5cc9

Please sign in to comment.