Skip to content

Fix to remove deprecation warning from Optim.jl#335

Merged
guilhermebodin merged 4 commits into
LAMPSPUC:masterfrom
FabsOliveira:master
Jan 31, 2026
Merged

Fix to remove deprecation warning from Optim.jl#335
guilhermebodin merged 4 commits into
LAMPSPUC:masterfrom
FabsOliveira:master

Conversation

@FabsOliveira

Copy link
Copy Markdown
Contributor

Tests break because of a numerical error with L-BFGS. Should probably revise the tests to be more robust, maybe use another Optim.jl method in there.

Copilot AI review requested due to automatic review settings January 15, 2026 16:59

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Optim.jl option parameters to remove deprecation warnings by replacing the deprecated f_tol and g_tol parameters with their newer equivalents f_abstol and g_abstol.

Changes:

  • Updated default Optim.Options parameters from deprecated f_tol and g_tol to f_abstol and g_abstol

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@guilhermebodin guilhermebodin merged commit 549eb87 into LAMPSPUC:master Jan 31, 2026
1 of 4 checks passed
@guilhermebodin

Copy link
Copy Markdown
Member

Thanks @FabsOliveira, I will update the tests and release a new version

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.

3 participants