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

core: add EIGENPY_NO_ALIGNMENT_VALUE

parent b365f4ca
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,8 @@
#define EIGENPY_DEFAULT_ALIGNMENT_VALUE Eigen::Aligned
#endif
#define EIGENPY_NO_ALIGNMENT_VALUE Eigen::Unaligned
#include "eigenpy/expose.hpp"
namespace eigenpy
......
......@@ -20,10 +20,10 @@ namespace eigenpy
template<typename PlainObjectTypeT>
struct Ref
: Eigen::Ref<PlainObjectTypeT,EIGENPY_DEFAULT_ALIGNMENT_VALUE,typename StrideType<PlainObjectTypeT>::type>
: Eigen::Ref<PlainObjectTypeT,EIGENPY_NO_ALIGNMENT_VALUE,typename StrideType<PlainObjectTypeT>::type>
{
public:
typedef Eigen::Ref<PlainObjectTypeT,EIGENPY_DEFAULT_ALIGNMENT_VALUE,typename eigenpy::template StrideType<PlainObjectTypeT>::type> Base;
typedef Eigen::Ref<PlainObjectTypeT,EIGENPY_NO_ALIGNMENT_VALUE,typename eigenpy::template StrideType<PlainObjectTypeT>::type> Base;
private:
typedef Eigen::internal::traits<Base> Traits;
......
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