We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a954481 commit e5aae50Copy full SHA for e5aae50
test/pirls.jl
@@ -80,12 +80,12 @@ end
80
gmldγ = fit(MixedModel, @formula(RT_raw ~ 1 + Class * NativeLanguage + (1|Subject) + (1|Word)),
81
lexdec, Gamma(), IdentityLink(), fast=false)
82
@test all(gmldγ.optsum.initial_step .> 0)
83
- @test first(gmldγ.θ) == 0
+ @test first(gmldγ.θ) ≈ 0 atol=0.001
84
85
# don't know how much sense this model makes, but it's a boundary fit on two
86
# boundaries and it uses InverseGaussian()
87
gmldig = fit(MixedModel, @formula(RT_raw ~ 1 + Class * NativeLanguage + (1|Subject) + (1|Word)),
88
lexdec, InverseGaussian(), IdentityLink(), fast=false)
89
90
- @test all(gmldig.θ .== 0)
+ @test all(isapprox.(gmldig.θ, 0, atol=0.001))
91
end
0 commit comments