summaryrefslogtreecommitdiff
path: root/src/linalg.h
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-10-04 19:06:57 (GMT)
committerMarius Kintel <marius@kintel.net>2011-10-04 19:06:57 (GMT)
commit46ccaf371609cf8a32753c75db5dd3eb35ae27c0 (patch)
tree06ef1bc1360a5ca102c5dff95741a1c720997b31 /src/linalg.h
parent799ca1d1b3f2e9142460ab3ce895a0641f54dfda (diff)
merged
Diffstat (limited to 'src/linalg.h')
-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