diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-01-04 15:26:32 +0000 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-01-04 15:26:32 +0000 |
commit | 15ca6659acea545178116096bff3e42068b4f4cb (patch) | |
tree | 0f4093c77a3312b69dff071db7fd1ad14a3d6d25 /bench/btl | |
parent | d9e5fd393a48db368dd90cf7119ebb3d774111cb (diff) |
* the 4th template param of Matrix is now Options. One bit for storage
order, one bit for enabling/disabling auto-alignment. If you want to
disable, do:
Matrix<float,4,1,Matrix_DontAlign>
The Matrix_ prefix is the only way I can see to avoid
ambiguity/pollution. The old RowMajor, ColMajor constants are
deprecated, remain for now.
* this prompted several improvements in matrix_storage. ei_aligned_array
renamed to ei_matrix_array and moved there. The %16==0 tests are now
much more centralized in 1 place there.
* unalignedassert test: updated
* update FindEigen2.cmake from KDElibs
* determinant test: use VERIFY_IS_APPROX to fix false positives; add
testing of 1 big matrix
Diffstat (limited to 'bench/btl')
-rw-r--r-- | bench/btl/cmake/FindEigen2.cmake | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/bench/btl/cmake/FindEigen2.cmake b/bench/btl/cmake/FindEigen2.cmake index 49dfd1e6d..2579a6c9c 100644 --- a/bench/btl/cmake/FindEigen2.cmake +++ b/bench/btl/cmake/FindEigen2.cmake @@ -1,11 +1,9 @@ -# - Try to find eigen2 headers +# - Try to find Eigen2 lib # Once done this will define # -# EIGEN2_FOUND - system has eigen2 lib -# EIGEN2_INCLUDE_DIR - the eigen2 include directory -# -# Copyright (C) 2008 Gael Guennebaud <g.gael@free.fr> -# Adapted from FindEigen.cmake: +# EIGEN2_FOUND - system has eigen lib +# EIGEN2_INCLUDE_DIR - the eigen include directory + # Copyright (c) 2006, 2007 Montel Laurent, <montel@kde.org> # Redistribution and use is allowed according to the terms of the BSD license. # For details see the accompanying COPYING-CMAKE-SCRIPTS file. @@ -19,12 +17,14 @@ else (EIGEN2_INCLUDE_DIR) find_path(EIGEN2_INCLUDE_DIR NAMES Eigen/Core PATHS - ${Eigen_SOURCE_DIR}/ ${INCLUDE_INSTALL_DIR} + ${KDE4_INCLUDE_DIR} + PATH_SUFFIXES eigen2 ) include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(Eigen2 DEFAULT_MSG EIGEN2_INCLUDE_DIR) +find_package_handle_standard_args(Eigen2 DEFAULT_MSG EIGEN2_INCLUDE_DIR ) + mark_as_advanced(EIGEN2_INCLUDE_DIR) |