Big 1213: add regression unit test.

This commit is contained in:
Gael Guennebaud
2016-05-18 14:03:03 +02:00
parent 747e3290c0
commit 5a71eb5985
4 changed files with 41 additions and 0 deletions

View File

@@ -259,6 +259,8 @@ ei_add_test(dense_storage)
ei_add_test(ctorleak)
ei_add_test(mpl2only)
add_executable(bug1213 bug1213.cpp bug1213_main.cpp)
check_cxx_compiler_flag("-ffast-math" COMPILER_SUPPORT_FASTMATH)
if(COMPILER_SUPPORT_FASTMATH)
set(EIGEN_FASTMATH_FLAGS "-ffast-math")