Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix LevenbergMarquardt trace constructor to match Optim v0.5. #2

Merged
merged 1 commit into from
Jun 8, 2016

Conversation

pkofod
Copy link
Contributor

@pkofod pkofod commented Jun 8, 2016

Ref: https://gist.github.com/anonymous/4609c24a5c7b8bb8222012c9564958c6 and JuliaLang/METADATA.jl#5341

The way traces are initiated has changed a bit in Optim. I didn't notice you were accessing OptimizationTrace directly, so currently Mads.jl tests will fail in contamination.jl with Optim v0.5, because a trace cannot be initiated.

@tkelman
Copy link
Contributor

tkelman commented Jun 8, 2016

Does this work with any earlier versions of Optim? If not, then best to set a lower bound of Optim 0.5 now for this change.

@pkofod
Copy link
Contributor Author

pkofod commented Jun 8, 2016

Good point, changed.

@coveralls
Copy link

coveralls commented Jun 8, 2016

Coverage Status

Changes Unknown when pulling bdc7f27 on pkofod:master into * on madsjulia:master*.

@coveralls
Copy link

coveralls commented Jun 8, 2016

Coverage Status

Changes Unknown when pulling bdc7f27 on pkofod:master into * on madsjulia:master*.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants