Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
palday and github-actions[bot] authored Nov 8, 2024
1 parent ec6a6d5 commit e7da51f
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 e7da51f

Please sign in to comment.