BUG: constraint function is overwritten when equal bounds are used in SLSQP #14859
Labels
defect
A clear bug or issue that prevents SciPy from being installed or used as expected
scipy.optimize
Milestone
Describe your issue.
@mdhaber, just after I merged #13096 I realised that the constraints functions are replaced in the user supplied list. This is not a good idea, as we're overwriting user information. I'll make a fix now.
Reproducing Code Example
Error message
SciPy/NumPy/Python version information
Master
The text was updated successfully, but these errors were encountered: