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 77d83f5 commit fb1b4ceCopy full SHA for fb1b4ce
include/eigenpy/eigen-allocator.hpp
@@ -232,7 +232,7 @@ namespace eigenpy
232
if(Options != Eigen::Unaligned) // we need to check whether the memory is correctly aligned and composed of a continuous segment
233
{
234
void * data_ptr = PyArray_DATA(pyArray);
235
- if(!PyArray_ISONESEGMENT(pyArray) || !is_aligned(data_ptr,Option))
+ if(!PyArray_ISONESEGMENT(pyArray) || !is_aligned(data_ptr,Options))
236
need_to_allocate |= true;
237
}
238
0 commit comments