summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dxfdata.h5
-rw-r--r--src/linalg.h4
2 files changed, 7 insertions, 2 deletions
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 <vector>
#include <Eigen/Dense>
@@ -30,7 +33,7 @@ public:
}
};
- std::vector<Vector2d, Eigen::aligned_allocator<Vector2d> > points;
+ std::vector<Vector2d> points;
std::vector<Path> paths;
std::vector<Dim> 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 <Eigen/Core>
#include <Eigen/Geometry>
contact: Jan Huwald // Impressum