fix compilation in the case of 1D Transform

This commit is contained in:
Gael Guennebaud 2011-03-02 19:29:55 +01:00
parent 703c8a0cc6
commit 5cec29162b

View File

@ -201,7 +201,7 @@ public:
typedef _Scalar Scalar;
typedef DenseIndex Index;
/** type of the matrix used to represent the transformation */
typedef Matrix<Scalar,Rows,HDim,Options> MatrixType;
typedef typename internal::make_proper_matrix_type<Scalar,Rows,HDim,Options>::type MatrixType;
/** constified MatrixType */
typedef const MatrixType ConstMatrixType;
/** type of the matrix used to represent the linear part of the transformation */