File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -348,15 +348,6 @@ template <> struct select_npy_type<uint16_t> { const static NPY_TYPES type = NPY
348
348
template <> struct select_npy_type <uint32_t > { const static NPY_TYPES type = NPY_ULONG; };
349
349
template <> struct select_npy_type <uint64_t > { const static NPY_TYPES type = NPY_UINT64; };
350
350
351
- // Sanity checks; comment them out or change the numpy type below if you're compiling on
352
- // a platform where they don't apply
353
- #ifndef _WIN32
354
- static_assert (sizeof (long long ) == 8);
355
- template <> struct select_npy_type <long long > { const static NPY_TYPES type = NPY_INT64; };
356
- static_assert (sizeof (unsigned long long ) == 8);
357
- template <> struct select_npy_type <unsigned long long > { const static NPY_TYPES type = NPY_UINT64; };
358
- #endif
359
-
360
351
template <typename Numeric>
361
352
PyObject* get_array (const std::vector<Numeric>& v)
362
353
{
You can’t perform that action at this time.
0 commit comments