Skip to content

Fix L-BFGS-B DeprecationWarning: disp is deprecated in SciPy 1.16.0#251

Open
jrmaddison wants to merge 1 commit intodolfin-adjoint:masterfrom
jrmaddison:jrmaddison/fix_l_bfgs_warning
Open

Fix L-BFGS-B DeprecationWarning: disp is deprecated in SciPy 1.16.0#251
jrmaddison wants to merge 1 commit intodolfin-adjoint:masterfrom
jrmaddison:jrmaddison/fix_l_bfgs_warning

Conversation

@jrmaddison
Copy link
Contributor

Do not set the disp option by default with L-BFGS-B, as this is deprecated in SciPy 1.16.0

Also fix the logic here, which is broken by the multiline comment/string.

@jrmaddison jrmaddison force-pushed the jrmaddison/fix_l_bfgs_warning branch from 84c8a49 to 7f3931e Compare March 16, 2026 11:23
@jrmaddison jrmaddison changed the title Fix L-BFGS DeprecationWarning: disp is deprecated in SciPy 1.16.0 Fix L-BFGS-B DeprecationWarning: disp is deprecated in SciPy 1.16.0 Mar 16, 2026
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.

2 participants