File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -175,21 +175,12 @@ namespace eigenpy
175175
176176 if (PyArray_DIMS (pyArray)[0 ] > 1 && PyArray_DIMS (pyArray)[1 ] > 1 )
177177 {
178- #ifndef NDEBUG
179- std::cerr << " The number of dimension of the object does not correspond to a vector" << std::endl;
180- #endif
181178 return 0 ;
182179 }
183180
184181 if (((PyArray_DIMS (pyArray)[0 ] == 1 ) && (MatType::ColsAtCompileTime == 1 ))
185182 || ((PyArray_DIMS (pyArray)[1 ] == 1 ) && (MatType::RowsAtCompileTime == 1 )))
186183 {
187- #ifndef NDEBUG
188- if (MatType::ColsAtCompileTime == 1 )
189- std::cerr << " The object is not a column vector" << std::endl;
190- else
191- std::cerr << " The object is not a row vector" << std::endl;
192- #endif
193184 return 0 ;
194185 }
195186
@@ -217,9 +208,6 @@ namespace eigenpy
217208
218209 if (PyArray_NDIM (pyArray) != 2 )
219210 {
220- #ifndef NDEBUG
221- std::cerr << " The number of dimension of the object is not correct." << std::endl;
222- #endif
223211 return 0 ;
224212 }
225213
@@ -243,9 +231,6 @@ namespace eigenpy
243231 if (!(PyArray_FLAGS (pyArray) & NPY_ALIGNED))
244232#endif
245233 {
246- #ifndef NDEBUG
247- std::cerr << " NPY non-aligned matrices are not implemented." << std::endl;
248- #endif
249234 return 0 ;
250235 }
251236
You can’t perform that action at this time.
0 commit comments