diff options
author | Gael Guennebaud <g.gael@free.fr> | 2008-07-29 16:33:07 +0000 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2008-07-29 16:33:07 +0000 |
commit | 842c4f8bfa51008ab13919225f95b56e6cbcc655 (patch) | |
tree | 777584717ed1737ab1527c36d5392d1016f1d2c9 /Eigen/src/QR/QR.h | |
parent | e0215ee5101ad0d656509902bdb46ab61551865e (diff) |
Several compilation fixes for MSVC and NVCC, basically:
- added explicit enum to int conversion where needed
- if a function is not defined as declared and the return type is "tricky"
then the type must be typedefined somewhere. A "tricky return type" can be:
* a template class with a default parameter which depends on another template parameter
* a nested template class, or type of a nested template class
Diffstat (limited to 'Eigen/src/QR/QR.h')
-rw-r--r-- | Eigen/src/QR/QR.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/QR/QR.h b/Eigen/src/QR/QR.h index 6e2f9c546..8ca787c2a 100644 --- a/Eigen/src/QR/QR.h +++ b/Eigen/src/QR/QR.h @@ -168,7 +168,7 @@ MatrixType QR<MatrixType>::matrixQ(void) const * \sa class QR */ template<typename Derived> -const QR<typename ei_eval<Derived>::type> +const QR<typename MatrixBase<Derived>::EvalType> MatrixBase<Derived>::qr() const { return QR<typename ei_eval<Derived>::type>(derived()); |