Skip to content

Commit

Permalink
BUG: Fix the fact that only the 50 slot is filled with the copy alias
Browse files Browse the repository at this point in the history
(There were 3 functions all doing the same, only this slot survived 2.x)
  • Loading branch information
seberg committed Mar 12, 2024
1 parent 3b40fb4 commit b0de106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/pybind11/numpy.h
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ struct npy_api {
API_PyArray_DescrFromScalar = 57,
API_PyArray_FromAny = 69,
API_PyArray_Resize = 80,
API_PyArray_CopyInto = 82,
API_PyArray_CopyInto = 50,
API_PyArray_NewCopy = 85,
API_PyArray_NewFromDescr = 94,
API_PyArray_DescrNewFromType = 96,
Expand Down

0 comments on commit b0de106

Please sign in to comment.