Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add changelog entry for PR #10767
  • Loading branch information
VenkateswarluNagineni committed Sep 8, 2026
commit d1d3aefea6b9f5281d741311e20a5f14f2cfefbb
4 changes: 4 additions & 0 deletions docs/upcoming_changes/10767.bug_fix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
PR #10767: Fix ``np.clip`` returning wrong shape when ``a_min`` or ``a_max``

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The snippet needs a title with a hyphen underscore, as per:

https://github.com/numba/numba/blob/main/docs/upcoming_changes/README.rst

broadcasts to a shape larger than ``a``. Previously the result was allocated
with ``np.empty_like(a)`` before the broadcast was computed, so a larger bound
silently produced the wrong shape and wrote outside the result buffer.
Loading