* bug fixes in: Dot, generalized eigen problem, singular matrix detetection in Cholesky

* fix all numerical instabilies in the unit tests, now all tests can be run 2000 times
  with almost zero failures.
This commit is contained in:
Gael Guennebaud
2008-08-23 15:14:20 +00:00
parent 312013a089
commit 2120fed849
20 changed files with 632 additions and 103 deletions

View File

@@ -1,5 +1,9 @@
IF(BUILD_TESTS)
find_package(GSL)
if(GSL_FOUND)
add_definitions("-DHAS_GSL")
endif(GSL_FOUND)
IF(CMAKE_COMPILER_IS_GNUCXX)
IF(CMAKE_SYSTEM_NAME MATCHES Linux)
@@ -69,6 +73,10 @@ MACRO(EI_ADD_TEST testname)
target_link_libraries(${targetname} Eigen2)
ENDIF(TEST_LIB)
if(GSL_FOUND)
target_link_libraries(${targetname} ${GSL_LIBRARIES})
endif(GSL_FOUND)
IF(WIN32)
ADD_TEST(${testname} "${targetname}")
ELSE(WIN32)