mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-03-07 18:27:40 +08:00
Fixed VC compilation error on the JacobiSVD module.
This commit is contained in:
parent
b1637df4f4
commit
13545eab9b
@ -26,20 +26,21 @@
|
||||
#define EIGEN_JACOBISVD_H
|
||||
|
||||
// forward declarations (needed by ICC)
|
||||
// the empty bodies are required by VC
|
||||
template<typename MatrixType, unsigned int Options, bool IsComplex = NumTraits<typename MatrixType::Scalar>::IsComplex>
|
||||
struct ei_svd_precondition_2x2_block_to_be_real;
|
||||
struct ei_svd_precondition_2x2_block_to_be_real {};
|
||||
|
||||
template<typename MatrixType, unsigned int Options,
|
||||
bool PossiblyMoreRowsThanCols = (Options & AtLeastAsManyColsAsRows) == 0
|
||||
&& (MatrixType::RowsAtCompileTime==Dynamic
|
||||
|| (MatrixType::RowsAtCompileTime>MatrixType::ColsAtCompileTime))>
|
||||
struct ei_svd_precondition_if_more_rows_than_cols;
|
||||
struct ei_svd_precondition_if_more_rows_than_cols {};
|
||||
|
||||
template<typename MatrixType, unsigned int Options,
|
||||
bool PossiblyMoreColsThanRows = (Options & AtLeastAsManyRowsAsCols) == 0
|
||||
&& (MatrixType::ColsAtCompileTime==Dynamic
|
||||
|| (MatrixType::ColsAtCompileTime>MatrixType::RowsAtCompileTime))>
|
||||
struct ei_svd_precondition_if_more_cols_than_rows;
|
||||
struct ei_svd_precondition_if_more_cols_than_rows {};
|
||||
|
||||
/** \ingroup SVD_Module
|
||||
* \nonstableyet
|
||||
|
Loading…
Reference in New Issue
Block a user