Skip to content

Commit

Permalink
usage of ProgressUnknown fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
yoninazarathy committed Sep 18, 2023
1 parent 37b8d38 commit 3020e8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/generalizedlinearmixedmodel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ function StatsAPI.fit!(
optsum.final = copy(optsum.initial)
end
setpar! = fast ? setθ! : setβθ!
prog = ProgressUnknown("Minimizing"; showspeed=true)
prog = ProgressUnknown(;desc = "Minimizing", showspeed=true)

Check warning on line 281 in src/generalizedlinearmixedmodel.jl

View workflow job for this annotation

GitHub Actions / Style Enforcement (Julia 1.6 - pull_request)

[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/generalizedlinearmixedmodel.jl:281:- prog = ProgressUnknown(;desc = "Minimizing", showspeed=true) src/generalizedlinearmixedmodel.jl:281:+ prog = ProgressUnknown(; desc="Minimizing", showspeed=true)
# start from zero for the initial call to obj before optimization
iter = 0
fitlog = optsum.fitlog
Expand Down
2 changes: 1 addition & 1 deletion src/linearmixedmodel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ function StatsAPI.fit!(
end
opt = Opt(optsum)
optsum.REML = REML
prog = ProgressUnknown("Minimizing"; showspeed=true)
prog = ProgressUnknown(;desc = "Minimizing", showspeed=true)

Check warning on line 460 in src/linearmixedmodel.jl

View workflow job for this annotation

GitHub Actions / Style Enforcement (Julia 1.6 - pull_request)

[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/linearmixedmodel.jl:460:- prog = ProgressUnknown(;desc = "Minimizing", showspeed=true) src/linearmixedmodel.jl:460:+ prog = ProgressUnknown(; desc="Minimizing", showspeed=true)
# start from zero for the initial call to obj before optimization
iter = 0
fitlog = optsum.fitlog
Expand Down

0 comments on commit 3020e8f

Please sign in to comment.