We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef0383f commit efa69adCopy full SHA for efa69ad
matplotlibcpp.h
@@ -350,10 +350,12 @@ template <> struct select_npy_type<uint64_t> { const static NPY_TYPES type = NPY
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
template<typename Numeric>
361
PyObject* get_array(const std::vector<Numeric>& v)
0 commit comments