help wanted
仓库指标
- Star
- (14,677 star)
- PR 合并指标
- (平均合并 5天 2小时) (30 天内合并 10 个 PR)
描述
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