Skip to content

Commit

Permalink
He's always watching your style
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Arslan <[email protected]>
  • Loading branch information
palday and ararslan authored Nov 8, 2024
1 parent 725f18c commit c1c12e1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/serialization.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ function restoreoptsum!(m::MixedModel, filename; kwargs...)
end
end

function restoreoptsum!(m::LinearMixedModel{T}, io::IO;
atol::Real=zero(T),
rtol::Real=atol > 0 ? zero(T) : eps(T)) where {T}
function restoreoptsum!(
m::LinearMixedModel{T}, io::IO; atol::Real=zero(T),
rtol::Real=atol > 0 ? zero(T) : eps(T)
) where {T}
dict = JSON3.read(io)
ops = restoreoptsum!(m.optsum, dict)
for (par, obj_at_par) in (:initial => :finitial, :final => :fmin)
Expand Down

0 comments on commit c1c12e1

Please sign in to comment.