aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2010-05-19 16:49:56 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2010-05-19 16:49:56 +0200
commit188171b991e4109ad27f314b6406777df0fe0510 (patch)
tree1d5d04405ac3279804809ae67ac24f6d88815640 /Eigen
parent64cbd452669bccdb2470ddaf74f1312b4566b48e (diff)
parentf0283c13e8025d67fb4d147c9c89a703629ce62f (diff)
merge
Diffstat (limited to 'Eigen')
-rw-r--r--Eigen/src/Geometry/Transform.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Eigen/src/Geometry/Transform.h b/Eigen/src/Geometry/Transform.h
index 1f4db8098..6a7bb9ac9 100644
--- a/Eigen/src/Geometry/Transform.h
+++ b/Eigen/src/Geometry/Transform.h
@@ -560,9 +560,9 @@ template<typename Scalar, int Dim, int Mode>
QMatrix Transform<Scalar,Dim,Mode>::toQMatrix(void) const
{
EIGEN_STATIC_ASSERT(Dim==2, YOU_MADE_A_PROGRAMMING_MISTAKE)
- return QMatrix(matrix.coeff(0,0), matrix.coeff(1,0),
- matrix.coeff(0,1), matrix.coeff(1,1),
- matrix.coeff(0,2), matrix.coeff(1,2));
+ return QMatrix(m_matrix.coeff(0,0), m_matrix.coeff(1,0),
+ m_matrix.coeff(0,1), m_matrix.coeff(1,1),
+ m_matrix.coeff(0,2), m_matrix.coeff(1,2));
}
/** Initializes \c *this from a QTransform assuming the dimension is 2.
@@ -599,7 +599,7 @@ QTransform Transform<Scalar,Dim,Mode>::toQTransform(void) const
EIGEN_STATIC_ASSERT(Dim==2, YOU_MADE_A_PROGRAMMING_MISTAKE)
return QTransform(matrix.coeff(0,0), matrix.coeff(1,0), matrix.coeff(2,0)
matrix.coeff(0,1), matrix.coeff(1,1), matrix.coeff(2,1)
- matrix.coeff(0,2), matrix.coeff(1,2), matrix.coeff(2,2);
+ matrix.coeff(0,2), matrix.coeff(1,2), matrix.coeff(2,2));
}
#endif