JuliaNLSolvers / Optim.jl

Optimization functions for Julia
Other
1.13k stars 221 forks source link

NelderMead calls undefined method #537

Closed mohamed82008 closed 6 years ago

mohamed82008 commented 6 years ago

https://github.com/JuliaNLSolvers/Optim.jl/blob/13786da32a5421497386c3afc14e4071f99a63bc/src/multivariate/solvers/zeroth_order/nelder_mead.jl#L54

The above line seems to be a forgotten leftover from some changes in the NelderMead file. It's calling an undefined method.

pkofod commented 6 years ago

yes it's calling a deprecated constructor that was then removed, apparently without removing this branch. Good catch.