mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-11 08:03:55 +00:00
commit
c209323c1f
@ -147,7 +147,7 @@ NAMESPACE_BEGIN(detail)
|
||||
|
||||
template <typename T> struct npy_format_descriptor<T, typename std::enable_if<std::is_integral<T>::value>::type> {
|
||||
private:
|
||||
constexpr static const int values[] = {
|
||||
constexpr static const int values[8] = {
|
||||
array::API::NPY_BYTE_, array::API::NPY_UBYTE_, array::API::NPY_SHORT_, array::API::NPY_USHORT_,
|
||||
array::API::NPY_INT_, array::API::NPY_UINT_, array::API::NPY_LONGLONG_, array::API::NPY_ULONGLONG_ };
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user