diff options
Diffstat (limited to 'numpy/lib/arraysetops.py')
-rw-r--r-- | numpy/lib/arraysetops.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/arraysetops.py b/numpy/lib/arraysetops.py index 5b88acd6c..7bd666029 100644 --- a/numpy/lib/arraysetops.py +++ b/numpy/lib/arraysetops.py @@ -117,7 +117,7 @@ def setmember1d( ar1, ar2 ): aux2 = tt.take(perm) flag = ediff1d( aux, 1 ) == 0 - ii = numpy.where( flag * aux2 ) + ii = numpy.where( flag * aux2 )[0] aux = perm[ii+1] perm[ii+1] = perm[ii] perm[ii] = aux |