Verified Commit 04aa3138 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

core: fix issue with old Boost version

parent bf0259b9
......@@ -233,7 +233,7 @@ namespace eigenpy
if(Options != Eigen::Unaligned) // we need to check whether the memory is correctly aligned and composed of a continuous segment
void * data_ptr = PyArray_DATA(pyArray);
if(!PyArray_ISONESEGMENT(pyArray) || !boost::alignment::is_aligned(data_ptr,Options))
if(!PyArray_ISONESEGMENT(pyArray) || !boost::alignment::is_aligned(Options,data_ptr))
need_to_allocate |= true;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment