Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ada0499

Browse files
authored
Merge pull request #17336 from charris/backport-17319
BUG: Set deprecated fields to null in PyArray_InitArrFuncs
2 parents d86ac9f + 84d30d4 commit ada0499

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

numpy/core/src/multiarray/usertypes.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ PyArray_InitArrFuncs(PyArray_ArrFuncs *f)
126126
f->scalarkind = NULL;
127127
f->cancastscalarkindto = NULL;
128128
f->cancastto = NULL;
129+
f->fastclip = NULL;
130+
f->fastputmask = NULL;
131+
f->fasttake = NULL;
129132
}
130133

131134

0 commit comments

Comments
 (0)