diff options
author | 2008-12-22 20:50:47 +0000 | |
---|---|---|
committer | 2008-12-22 20:50:47 +0000 | |
commit | 789ea9d6762b2a0b2c737978f83939853cdb9fc3 (patch) | |
tree | a24c40b1ea4683edc86887c7e3a70ed029d1298b /Eigen/src/Geometry/Translation.h | |
parent | 4336cf3833d87bc1c8b4c9ef6f884547c80e31f0 (diff) |
unless i find more failures in the tests, this will be beta3...
* fixes for mistakes (especially in the cast() methods in Geometry) revealed by the new "mixing types" test
* dox love, including a section on coeff access in core and an overview in geometry
Diffstat (limited to 'Eigen/src/Geometry/Translation.h')
-rw-r--r-- | Eigen/src/Geometry/Translation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Geometry/Translation.h b/Eigen/src/Geometry/Translation.h index eec829690..d1a3d354b 100644 --- a/Eigen/src/Geometry/Translation.h +++ b/Eigen/src/Geometry/Translation.h @@ -143,7 +143,7 @@ public: /** Copy constructor with scalar type conversion */ template<typename OtherScalarType> inline explicit Translation(const Translation<OtherScalarType,Dim>& other) - { m_coeffs = other.vector().template cast<OtherScalarType>(); } + { m_coeffs = other.vector().template cast<Scalar>(); } /** \returns \c true if \c *this is approximately equal to \a other, within the precision * determined by \a prec. |