You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scipy.optimize.linesearch.scalar_search_armijo can return alpha=None. In optim.py:line_search_armijo as part of a previous issue #184, we restrict the value of alpha to be at most 1 with min(1, alpha) but this throws an Exception when alpha is None.
Describe the bug
scipy.optimize.linesearch.scalar_search_armijo can return
alpha=None
. In optim.py:line_search_armijo as part of a previous issue #184, we restrict the value ofalpha
to be at most 1 withmin(1, alpha)
but this throws an Exception whenalpha
isNone
.Expected behavior
Return
None
instead of throwing an ExceptionOutput of the following code snippet:
Additional context
POT/ot/optim.py
Line 72 in acfff52
The text was updated successfully, but these errors were encountered: