You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a workaround here: #1776 Since we don't support any versions of Numpy that don't have np.half anymore, I would welcome a PR that added these additions to the master.
Required prerequisites
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
, it doesn't have
NPY_HALF_
Reproducible example code
No response
The text was updated successfully, but these errors were encountered: