Skip to content

Commit

Permalink
rtol->atol
Browse files Browse the repository at this point in the history
  • Loading branch information
odunbar committed Jan 21, 2025
1 parent 550b62f commit 4a17258
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/GaussianProcess/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,8 @@ using CalibrateEmulateSample.DataContainers

# gp1 and agp_from_gp2 should give similar predictions
tol_small = 1e-12
@test all(isapprox.(μ4b, μ4_noise_learnt, rtol = tol_small))
@test all(isapprox.(σ4b², σ4²_noise_learnt, rtol = tol_small))
@test all(isapprox.(μ4b, μ4_noise_learnt, atol = tol_small))
@test all(isapprox.(σ4b², σ4²_noise_learnt, atol = tol_small))

# also test at Duals?

Expand Down

0 comments on commit 4a17258

Please sign in to comment.