diff options
Diffstat (limited to 'src/dxfdata.h')
-rw-r--r-- | src/dxfdata.h | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/src/dxfdata.h b/src/dxfdata.h index 04bcdd0..d138e7a 100644 --- a/src/dxfdata.h +++ b/src/dxfdata.h @@ -1,15 +1,6 @@ #ifndef DXFDATA_H_ #define DXFDATA_H_ -// workaround Eigen SIMD alignment problems -#ifndef __APPLE__ -#define EIGEN_DONT_VECTORIZE 1 -#define EIGEN_DISABLE_UNALIGNED_ARRAY_ASSERT 1 -#endif -#ifdef _MSC_VER -#define EIGEN_DONT_ALIGN -#endif - #include <Eigen/Dense> #include <vector> @@ -39,10 +30,10 @@ public: } }; -#ifdef _MSC_VER - std::vector<Vector2d> points; -#else +#ifdef __APPLE__ std::vector<Vector2d, Eigen::aligned_allocator<Vector2d> > points; +#else + std::vector<Vector2d> points; #endif std::vector<Path> paths; std::vector<Dim> dims; |