Skip to content

Commit

Permalink
fix relax exactness check for rand!(LocationScale)
Browse files Browse the repository at this point in the history
  • Loading branch information
Red-Portal committed Nov 9, 2024
1 parent 52bbbed commit 466808d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/families/location_scale.jl
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
@testset "rand! AbstractMatrix" begin
z_samples = Array{realtype}(undef, n_dims, n_montecarlo)
z_samples_ret = rand!(q, z_samples)
@test z_samples == z_samples_ret
@test z_samples z_samples_ret realtype(1e-2)
@test dropdims(mean(z_samples; dims=2); dims=2) mean(q_true) rtol = realtype(
1e-2
)
Expand Down

0 comments on commit 466808d

Please sign in to comment.