aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/mixingtypes.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-01-15 13:30:50 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-01-15 13:30:50 +0000
commit87241089e19147cb7643387b53da8500b2124dcc (patch)
tree7c09ee7dbc90908aa230022f91f0c26ba2147b72 /test/mixingtypes.cpp
parent96e1e582ff879cb2287847e3d9129cd121a978dd (diff)
Sparse module: bugfix in SparseMatrix::resize(), now the indices are
correctly initialized to 0.
Diffstat (limited to 'test/mixingtypes.cpp')
-rw-r--r--test/mixingtypes.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/mixingtypes.cpp b/test/mixingtypes.cpp
index 686839161..ad03639a9 100644
--- a/test/mixingtypes.cpp
+++ b/test/mixingtypes.cpp
@@ -23,8 +23,14 @@
// License and a copy of the GNU General Public License along with
// Eigen. If not, see <http://www.gnu.org/licenses/>.
+#ifndef EIGEN_NO_STATIC_ASSERT
#define EIGEN_NO_STATIC_ASSERT // turn static asserts into runtime asserts in order to check them
+#endif
+
+#ifndef EIGEN_DONT_VECTORIZE
#define EIGEN_DONT_VECTORIZE // SSE intrinsics aren't designed to allow mixing types
+#endif
+
#include "main.h"