aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2011-03-02 19:29:55 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2011-03-02 19:29:55 +0100
commit5cec29162bc18225e8d1414aea18603e732281fe (patch)
treec62317cce1a76b32838a1b4e97385a4266e3ef4b /Eigen
parent703c8a0cc62c2d5ebbd1c826cfd428fcb8aee667 (diff)
fix compilation in the case of 1D Transform
Diffstat (limited to 'Eigen')
-rw-r--r--Eigen/src/Geometry/Transform.h2
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 */