Skip to content

Commit 04aa313

Browse files
committed
core: fix issue with old Boost version
1 parent bf0259b commit 04aa313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/eigenpy/eigen-allocator.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ namespace eigenpy
233233
if(Options != Eigen::Unaligned) // we need to check whether the memory is correctly aligned and composed of a continuous segment
234234
{
235235
void * data_ptr = PyArray_DATA(pyArray);
236-
if(!PyArray_ISONESEGMENT(pyArray) || !boost::alignment::is_aligned(data_ptr,Options))
236+
if(!PyArray_ISONESEGMENT(pyArray) || !boost::alignment::is_aligned(Options,data_ptr))
237237
need_to_allocate |= true;
238238
}
239239

0 commit comments

Comments
 (0)