We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf0259b commit 04aa313Copy full SHA for 04aa313
include/eigenpy/eigen-allocator.hpp
@@ -233,7 +233,7 @@ namespace eigenpy
233
if(Options != Eigen::Unaligned) // we need to check whether the memory is correctly aligned and composed of a continuous segment
234
{
235
void * data_ptr = PyArray_DATA(pyArray);
236
- if(!PyArray_ISONESEGMENT(pyArray) || !boost::alignment::is_aligned(data_ptr,Options))
+ if(!PyArray_ISONESEGMENT(pyArray) || !boost::alignment::is_aligned(Options,data_ptr))
237
need_to_allocate |= true;
238
}
239
0 commit comments