aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/main.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2011-02-24 00:22:53 +0300
committerGravatar Gael Guennebaud <g.gael@free.fr>2011-02-24 00:22:53 +0300
commit28d17c53903139d2292186a55e56a278b2b376aa (patch)
treed0420d8b3d9e7bf4822705d8a10e4c4f184ecbb8 /test/main.h
parent4bfe38eda2c95a1294788b11df82231e7e9078eb (diff)
bounds the range of random integers for AltiVec
Diffstat (limited to 'test/main.h')
-rw-r--r--test/main.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/main.h b/test/main.h
index d1c3dc10f..aa133d5fa 100644
--- a/test/main.h
+++ b/test/main.h
@@ -35,6 +35,11 @@
#undef NDEBUG
#endif
+// bounds integer values for AltiVec
+#ifdef __ALTIVEC__
+#define EIGEN_MAKING_DOCS
+#endif
+
#ifndef EIGEN_TEST_FUNC
#error EIGEN_TEST_FUNC must be defined
#endif