Skip to content
Snippets Groups Projects
Verified Commit 78f934f7 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

core: force alignment of all instances

parent dc6b276a
No related branches found
No related tags found
No related merge requests found
...@@ -71,6 +71,19 @@ struct referent_storage<const Eigen::Quaternion<Scalar, Options> &> { ...@@ -71,6 +71,19 @@ struct referent_storage<const Eigen::Quaternion<Scalar, Options> &> {
} // namespace python } // namespace python
} // namespace boost } // namespace boost
namespace boost {
namespace python {
namespace objects {
// Force alignment of instance with value_holder
template <typename Derived>
struct instance<value_holder<Derived> >
: ::eigenpy::aligned_instance<value_holder<Derived> > {};
} // namespace objects
} // namespace python
} // namespace boost
namespace eigenpy { namespace eigenpy {
template <class T> template <class T>
......
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