summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/linalg.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/linalg.h b/src/linalg.h
index 06991cf..02fa17f 100644
--- a/src/linalg.h
+++ b/src/linalg.h
@@ -1,6 +1,11 @@
#ifndef LINALG_H_
#define LINALG_H_
+#ifndef __APPLE__
+#define EIGEN_DONT_VECTORIZE 1
+#define EIGEN_DISABLE_UNALIGNED_ARRAY_ASSERT 1
+#endif
+
#include <Eigen/Core>
#include <Eigen/Geometry>
contact: Jan Huwald // Impressum