Skip to content

Commit 24fe303

Browse files
Added another unordered searchsorted test with a larger array
1 parent a6bff25 commit 24fe303

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎numba/tests/test_np_functions.py‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1109,6 +1109,16 @@ def nonconst_side(a, v, side='left'):
11091109
)
11101110
check(a, v)
11111111

1112+
a = np.array([9, 1, 4, 2, 0, 3, 7, 6, 8])
1113+
v = np.array(
1114+
[
1115+
[5, 10],
1116+
[10, 5],
1117+
[-1, 5],
1118+
]
1119+
)
1120+
check(a, v)
1121+
11121122
def test_digitize(self):
11131123
pyfunc = digitize
11141124
cfunc = jit(nopython=True)(pyfunc)

0 commit comments

Comments
 (0)