mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
* 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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user