Skip to content

Commit fafc534

Browse files
Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 69d9968 commit fafc534

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/serialization.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ function restoreoptsum!(m::LinearMixedModel{T}, io::IO;
1818
for (par, obj_at_par) in (:initial => :finitial, :final => :fmin)
1919
if !isapprox(
2020
objective(updateL!(setθ!(m, getfield(ops, par)))), getfield(ops, obj_at_par);
21-
rtol, atol
21+
rtol, atol,
2222
)
2323
throw(
2424
ArgumentError(
25-
"model m at $par does not give stored $obj_at_par within given tolerances",
25+
"model m at $par does not give stored $obj_at_par within given tolerances"
2626
),
2727
)
2828
end
@@ -58,11 +58,11 @@ function restoreoptsum!(m::GeneralizedLinearMixedModel{T}, io::IO;
5858
for (par, obj_at_par) in (:initial => :finitial, :final => :fmin)
5959
if !isapprox(
6060
deviance(pirls!(setpar!(m, getfield(ops, par)), varyβ), dict.nAGQ),
61-
getfield(ops, obj_at_par); rtol, atol
61+
getfield(ops, obj_at_par); rtol, atol,
6262
)
6363
throw(
6464
ArgumentError(
65-
"model m at $par does not give stored $obj_at_par within given tolerances",
65+
"model m at $par does not give stored $obj_at_par within given tolerances"
6666
),
6767
)
6868
end

0 commit comments

Comments
 (0)