-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
Description
Required prerequisites
- Make sure you've read the documentation. Your issue may be addressed there.
- Search the issue tracker and Discussions to verify that this hasn't already been reported. +1 or comment there if it has.
- Consider asking first in the Gitter chat room or in a Discussion.
Problem description
NPY_HALF is supported by Numpy but not yet supported by pybind11.
From numpy/ndarraytypes.h there is enum NPY_TYPES { ... NPY_HALF, ...}
.
However, from pybind11/numpy.h
struct npy_api {
enum constants { ... }
, it doesn't have NPY_HALF_
Reproducible example code
No response
roastduck and dastrobu