8000 BUG: Bump Highway to latest master (#27070) · charris/numpy@7589881 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7589881

Browse files
Mousiuscharris
authored andcommitted
BUG: Bump Highway to latest master (numpy#27070)
* Bump Highway to latest master Fixes numpy#27037 * Add reproducer
1 parent 432f8cf commit 7589881

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

numpy/_core/src/highway

Submodule highway updated 95 files

numpy/_core/tests/test_regression.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2620,3 +2620,11 @@ def test_vectorize_fixed_width_string(self):
26202620
f = str.casefold
26212621
res = np.vectorize(f, otypes=[arr.dtype])(arr)
26222622
assert res.dtype == "U30"
2623+
2624+
def test_sort_unique_crash(self):
2625+
# gh-27037
2626+
for _ in range(4):
2627+
vals = np.linspace(0, 1, num=128)
2628+
data = np.broadcast_to(vals, (128, 128, 128))
2629+
data = data.transpose(0, 2, 1).copy()
2630+
np.unique(data)

0 commit comments

Comments
 (0)
0