aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen
diff options
context:
space:
mode:
authorGravatar Hauke Heibel <hauke.heibel@gmail.com>2009-09-27 17:00:10 +0200
committerGravatar Hauke Heibel <hauke.heibel@gmail.com>2009-09-27 17:00:10 +0200
commit13545eab9b20cc4b66f67afd068b36521536bf64 (patch)
tree59a6beba579ece3a557d036b93693f80ef27477d /Eigen
parentb1637df4f433b1f565572252ef6fb2d6d312a75a (diff)
Fixed VC compilation error on the JacobiSVD module.
Diffstat (limited to 'Eigen')
-rw-r--r--Eigen/src/SVD/JacobiSVD.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h
index 4b69e67c4..d6b4561cf 100644
--- a/Eigen/src/SVD/JacobiSVD.h
+++ b/Eigen/src/SVD/JacobiSVD.h
@@ -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