From c21196cb56e867f99190ef8d0847bc8de88f33f0 Mon Sep 17 00:00:00 2001 From: Justin Carpentier <justin.carpentier@inria.fr> Date: Thu, 18 Oct 2018 21:30:41 +0200 Subject: [PATCH] conversion: remove incorrect std::cerr This follows issue #44. --- include/eigenpy/details.hpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/include/eigenpy/details.hpp b/include/eigenpy/details.hpp index e80e3dfa..babf71af 100644 --- a/include/eigenpy/details.hpp +++ b/include/eigenpy/details.hpp @@ -187,12 +187,8 @@ namespace eigenpy static void* convertible(PyArrayObject* obj_ptr) { if (!PyArray_Check(obj_ptr)) - { -#ifndef NDEBUG - std::cerr << "The python object is not a numpy array." << std::endl; -#endif return 0; - } + if(MatType::IsVectorAtCompileTime) { // Special care of scalar matrix of dimension 1x1. -- GitLab