Skip to content

Commit bf68b8c

Browse files
Add changelog entry for PR numba#10767
1 parent 7464c30 commit bf68b8c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
PR #10767: Fix ``np.clip`` returning wrong shape when ``a_min`` or ``a_max``
2+
broadcasts to a shape larger than ``a``. Previously the result was allocated
3+
with ``np.empty_like(a)`` before the broadcast was computed, so a larger bound
4+
silently produced the wrong shape and wrote outside the result buffer.

0 commit comments

Comments
 (0)