Skip to content
Snippets Groups Projects
Verified Commit c21196cb authored by Justin Carpentier's avatar Justin Carpentier
Browse files

conversion: remove incorrect std::cerr

This follows issue #44.
parent f567b496
No related branches found
No related tags found
No related merge requests found
...@@ -187,12 +187,8 @@ namespace eigenpy ...@@ -187,12 +187,8 @@ namespace eigenpy
static void* convertible(PyArrayObject* obj_ptr) static void* convertible(PyArrayObject* obj_ptr)
{ {
if (!PyArray_Check(obj_ptr)) if (!PyArray_Check(obj_ptr))
{
#ifndef NDEBUG
std::cerr << "The python object is not a numpy array." << std::endl;
#endif
return 0; return 0;
}
if(MatType::IsVectorAtCompileTime) if(MatType::IsVectorAtCompileTime)
{ {
// Special care of scalar matrix of dimension 1x1. // Special care of scalar matrix of dimension 1x1.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment