8000 DOC: Add release notes for NPY_MAXDIMS and NPY_MAXARG change · numpy/numpy@2614008 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2614008

Browse files
committed
DOC: Add release notes for NPY_MAXDIMS and NPY_MAXARG change
1 parent 7b66749 commit 2614008

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
``NPY_MAXARGS`` and ``NPY_MAXDIMS`` increased
2+
---------------------------------------------
3+
``NPY_MAXDIMS`` is now 64 and ``NPY_MAXARGS`` is 128, downstream should
4+
not run into issues due to this, as these are typically only used for stack
5+
allocations, such as::
6+
7+
npy_intp shape[NPY_MAXDIMS];
8+
9+
so that an increase is safe. It will increase the stack usage a little.
10+
We are not aware of problematic usage patterns.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
* Maximu number of dimensions increased to 64
2+
* The maximum number of operands for some operations such as
3+
``einsum`` was increased to 128 (or close to it).

0 commit comments

Comments
 (0)
0