From d1c732748862f8d364eb2c1686636bdc265e62ca Mon Sep 17 00:00:00 2001 From: Shinya Ohtani Date: Tue, 26 Jan 2021 16:37:25 +0900 Subject: [PATCH] Avoid redefinition. Who requires this? --- matplotlibcpp.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/matplotlibcpp.h b/matplotlibcpp.h index 93a72be..ab615c6 100644 --- a/matplotlibcpp.h +++ b/matplotlibcpp.h @@ -337,9 +337,7 @@ template <> struct select_npy_type { const static NPY_TYPES type = NPY // Sanity checks; comment them out or change the numpy type below if you're compiling on // a platform where they don't apply static_assert(sizeof(long long) == 8); -template <> struct select_npy_type { const static NPY_TYPES type = NPY_INT64; }; static_assert(sizeof(unsigned long long) == 8); -template <> struct select_npy_type { const static NPY_TYPES type = NPY_UINT64; }; // TODO: add int, long, etc. template