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 committed Jun 14, 2019
1 parent 3478f52 commit 9c7bca8
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 @@ -90,6 +90,7 @@ def _pivot_col(T, tol=1e-9, 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 9c7bca8

Please sign in to comment.