Replace GTSAM_USE_SYSTEM_EIGEN check for householder_qr_inplace_blocked
The check was based on whether we are using the included version of Eigen or the system version, but since Eigen v3.2.5, our patches are included in the upstream Eigen, so check for Eigen version instead.release/4.3a0
parent
9a7dba75c4
commit
659ffeda02
|
@ -704,11 +704,9 @@ void inplace_QR(Matrix& A){
|
|||
HCoeffsType hCoeffs(size);
|
||||
RowVectorType temp(cols);
|
||||
|
||||
#ifdef GTSAM_USE_SYSTEM_EIGEN
|
||||
// System-Eigen is used, and MKL is off
|
||||
#if !EIGEN_VERSION_AT_LEAST(3,2,5)
|
||||
Eigen::internal::householder_qr_inplace_blocked<Matrix, HCoeffsType>(A, hCoeffs, 48, temp.data());
|
||||
#else
|
||||
// Patched Eigen is used, and MKL is either on or off
|
||||
Eigen::internal::householder_qr_inplace_blocked<Matrix, HCoeffsType>::run(A, hCoeffs, 48, temp.data());
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue