diff options
author | 2011-03-02 19:29:55 +0100 | |
---|---|---|
committer | 2011-03-02 19:29:55 +0100 | |
commit | 5cec29162bc18225e8d1414aea18603e732281fe (patch) | |
tree | c62317cce1a76b32838a1b4e97385a4266e3ef4b /Eigen | |
parent | 703c8a0cc62c2d5ebbd1c826cfd428fcb8aee667 (diff) |
fix compilation in the case of 1D Transform
Diffstat (limited to 'Eigen')
-rw-r--r-- | Eigen/src/Geometry/Transform.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Geometry/Transform.h b/Eigen/src/Geometry/Transform.h index 6ced2d1e5..289077c1b 100644 --- a/Eigen/src/Geometry/Transform.h +++ b/Eigen/src/Geometry/Transform.h @@ -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 */ |