Skip to content
Snippets Groups Projects
Commit d70a5dc7 authored by jcarpent's avatar jcarpent
Browse files

[C++] Remove useless warning in the cast of memory ptr

parent b065acc8
No related branches found
No related tags found
No related merge requests found
...@@ -190,7 +190,7 @@ namespace eigenpy ...@@ -190,7 +190,7 @@ namespace eigenpy
typename MapNumpy<EquivalentEigenType>::EigenMap numpyMap = MapNumpy<EquivalentEigenType>::map(pyArray); typename MapNumpy<EquivalentEigenType>::EigenMap numpyMap = MapNumpy<EquivalentEigenType>::map(pyArray);
void* storage = ((bp::converter::rvalue_from_python_storage<MatType>*) void* storage = ((bp::converter::rvalue_from_python_storage<MatType>*)
(memory))->storage.bytes; ((void*)memory))->storage.bytes;
assert( (numpyMap.rows()<INT_MAX) && (numpyMap.cols()<INT_MAX) assert( (numpyMap.rows()<INT_MAX) && (numpyMap.cols()<INT_MAX)
&& "Map range larger than int ... can never happen." ); && "Map range larger than int ... can never happen." );
int r=(int)numpyMap.rows(),c=(int)numpyMap.cols(); int r=(int)numpyMap.rows(),c=(int)numpyMap.cols();
......
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