Skip to content

Commit

Permalink
Merge pull request #30 from jahan-open/master
Browse files Browse the repository at this point in the history
Typo fix in src/stanrun.jl
  • Loading branch information
goedman authored Sep 4, 2024
2 parents e3ece84 + a6af6a2 commit 5a6e41c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stanrun/cmdline.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function cmdline(m::OptimizeModel, id)
if m.algorithm == :lbfgs
cmd = `$cmd history_size=$(m.history_size)`
end
elseif m.algorithn == :newtom
elseif m.algorithm == :newton
cmd = `$cmd iter=$(m.iter)`
if m.save_history
cmd = `$cmd save_iterations=1`
Expand Down

0 comments on commit 5a6e41c

Please sign in to comment.