Skip to content

Commit

Permalink
BUG: optimize: dummy commit to investigate scipy#10303 on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mdhaber authored and tylerjereddy committed Sep 2, 2019
1 parent 798df5d commit e8b57a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scipy/optimize/_linprog_simplex.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def _pivot_col(T, tol=1.0E-12, bland=False):
if ma.count() == 0:
return False, np.nan
if bland:
# ma.mask is sometimes 0d
return True, np.nonzero(ma.mask == False)[0][0]
return True, np.ma.nonzero(ma == ma.min())[0][0]

Expand Down

0 comments on commit e8b57a3

Please sign in to comment.