Skip to content

Commit d32b952

Browse files
committed
Change error message to be more suitable
1 parent b904bc2 commit d32b952

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dfols/solver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ def solve(objfun, x0, args=(), bounds=None, projections=[], npt=None, rhobeg=Non
871871

872872
if projections and scaling_within_bounds:
873873
scaling_within_bounds = False
874-
warnings.warn("Ignoring scaling_within_bounds=True for black-box constrained problem", RuntimeWarning)
874+
warnings.warn("Ignoring scaling_within_bounds=True for problem with arbitrary constraints", RuntimeWarning)
875875

876876
if xl is None:
877877
xl = -1e20 * np.ones((n,)) # unconstrained

0 commit comments

Comments
 (0)