From 0407d287b035e4f3aabf718f290eb31365fad26e Mon Sep 17 00:00:00 2001 From: Brad Pitcher Date: Tue, 4 Oct 2011 23:38:25 -0700 Subject: disable eigen alignment diff --git a/src/dxfdata.h b/src/dxfdata.h index d24541c..e2f229e 100644 --- a/src/dxfdata.h +++ b/src/dxfdata.h @@ -1,5 +1,8 @@ #ifndef DXFDATA_H_ #define DXFDATA_H_ +#ifndef EIGEN_DONT_ALIGN +#define EIGEN_DONT_ALIGN +#endif #include #include @@ -30,7 +33,7 @@ public: } }; - std::vector > points; + std::vector points; std::vector paths; std::vector dims; diff --git a/src/linalg.h b/src/linalg.h index 06991cf..eb1ed3c 100644 --- a/src/linalg.h +++ b/src/linalg.h @@ -1,6 +1,8 @@ #ifndef LINALG_H_ #define LINALG_H_ - +#ifndef EIGEN_DONT_ALIGN +#define EIGEN_DONT_ALIGN +#endif #include #include -- cgit v0.10.1