From 16c8a54f3b439a0201e863b78da9062d7fc04be8 Mon Sep 17 00:00:00 2001 From: Justin Carpentier <justin.carpentier@inria.fr> Date: Sun, 24 May 2020 10:31:46 +0200 Subject: [PATCH] core: avoid boring warning --- include/eigenpy/numpy-type.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/eigenpy/numpy-type.hpp b/include/eigenpy/numpy-type.hpp index b170579..a431c1e 100644 --- a/include/eigenpy/numpy-type.hpp +++ b/include/eigenpy/numpy-type.hpp @@ -32,7 +32,7 @@ namespace eigenpy template<typename Scalar> bool isNumpyNativeType() { - if(NumpyEquivalentType<Scalar>::type_code == NPY_USERDEF) + if((int)NumpyEquivalentType<Scalar>::type_code == NPY_USERDEF) return false; return true; } -- GitLab