Skip to content

Commit 935d313

Browse files
authored
Merge pull request #46 from jcarpent/topic/fix
Fix wrong message error
2 parents 49c509d + c21196c commit 935d313

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

include/eigenpy/details.hpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -187,12 +187,8 @@ namespace eigenpy
187187
static void* convertible(PyArrayObject* obj_ptr)
188188
{
189189
if (!PyArray_Check(obj_ptr))
190-
{
191-
#ifndef NDEBUG
192-
std::cerr << "The python object is not a numpy array." << std::endl;
193-
#endif
194190
return 0;
195-
}
191+
196192
if(MatType::IsVectorAtCompileTime)
197193
{
198194
// Special care of scalar matrix of dimension 1x1.

0 commit comments

Comments
 (0)