diff options
author | 2009-11-09 07:51:31 -0500 | |
---|---|---|
committer | 2009-11-09 07:51:31 -0500 | |
commit | 9a0900e33e9ca4bc174cfccc26dbf4bdc38f7627 (patch) | |
tree | 5d24519203764f0c6b6dc479946e56fd92025cb2 /Eigen/src/SVD/SVD.h | |
parent | e4e58e8337e82ba76f6bf4fe7000acac9337056c (diff) |
last round of changes, mainly to return derived types instead of base types, and fix various compilation issues
Diffstat (limited to 'Eigen/src/SVD/SVD.h')
-rw-r--r-- | Eigen/src/SVD/SVD.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Eigen/src/SVD/SVD.h b/Eigen/src/SVD/SVD.h index 2ae7c4859..3b424be04 100644 --- a/Eigen/src/SVD/SVD.h +++ b/Eigen/src/SVD/SVD.h @@ -90,11 +90,11 @@ template<typename _MatrixType> class SVD * \sa MatrixBase::svd(), */ template<typename Rhs> - inline const ei_solve_return_value<SVD, Rhs> + inline const ei_solve_retval<SVD, Rhs> solve(const MatrixBase<Rhs>& b) const { ei_assert(m_isInitialized && "SVD is not initialized."); - return ei_solve_return_value<SVD, Rhs>(*this, b.derived()); + return ei_solve_retval<SVD, Rhs>(*this, b.derived()); } const MatrixUType& matrixU() const @@ -429,8 +429,8 @@ SVD<MatrixType>& SVD<MatrixType>::compute(const MatrixType& matrix) } template<typename _MatrixType, typename Rhs> -struct ei_solve_impl<SVD<_MatrixType>, Rhs> - : ei_solve_return_value<SVD<_MatrixType>, Rhs> +struct ei_solve_retval<SVD<_MatrixType>, Rhs> + : ei_solve_retval_base<SVD<_MatrixType>, Rhs> { EIGEN_MAKE_SOLVE_HELPERS(SVD<_MatrixType>,Rhs) |