Skip to content

Commit

Permalink
Merge branch 'pa/save_glmm' of github.com:JuliaStats/MixedModels.jl i…
Browse files Browse the repository at this point in the history
…nto pa/save_glmm
  • Loading branch information
palday committed Nov 8, 2024
2 parents 82c67b1 + e7da51f commit a9ce864
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/serialization.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ end

function restoreoptsum!(
m::LinearMixedModel{T}, io::IO; atol::Real=zero(T),
rtol::Real=atol > 0 ? zero(T) : eps(T)
rtol::Real=atol > 0 ? zero(T) : eps(T),
) where {T}
dict = JSON3.read(io)
ops = restoreoptsum!(m.optsum, dict)
Expand All @@ -33,7 +33,7 @@ end

function restoreoptsum!(
m::GeneralizedLinearMixedModel{T}, io::IO; atol::Real=zero(T),
rtol::Real=atol > 0 ? zero(T) : eps(T)
rtol::Real=atol > 0 ? zero(T) : eps(T),
) where {T}
dict = JSON3.read(io)
ops = m.optsum
Expand Down

0 comments on commit a9ce864

Please sign in to comment.