Skip to content

Commit be52f8b

Browse files
committed
test fix
1 parent 8b5f64e commit be52f8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/predict.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ end
198198
# internally this is punted off to the same machinery as LMM
199199
@test predict(gm0) fitted(gm0)
200200
@test predict(gm0; type=:response) fitted(gm0)
201-
@test predict(gm0; type=:linpred) predict(gm0, contra; type=:linpred)
201+
@test predict(gm0; type=:linpred) GLM.linkfun.(Ref(Link(gm0)), fitted(gm0))
202202
# XXX these tolerances aren't great but are required for fast=false fits
203203
@test predict(gm0, contra; type=:linpred) gm0.resp.eta rtol = 0.1
204204
@test predict(gm0, contra; type=:response) gm0.resp.mu rtol = 0.01

0 commit comments

Comments
 (0)