diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-12-22 20:50:47 +0000 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-12-22 20:50:47 +0000 |
commit | 789ea9d6762b2a0b2c737978f83939853cdb9fc3 (patch) | |
tree | a24c40b1ea4683edc86887c7e3a70ed029d1298b /Eigen/src/Geometry/AlignedBox.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/AlignedBox.h')
-rw-r--r-- | Eigen/src/Geometry/AlignedBox.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Geometry/AlignedBox.h b/Eigen/src/Geometry/AlignedBox.h index 3d4608e73..a835d0edd 100644 --- a/Eigen/src/Geometry/AlignedBox.h +++ b/Eigen/src/Geometry/AlignedBox.h @@ -142,8 +142,8 @@ public: template<typename OtherScalarType> inline explicit AlignedBox(const AlignedBox<OtherScalarType,AmbientDimAtCompileTime>& other) { - m_min = other.min().template cast<OtherScalarType>(); - m_max = other.max().template cast<OtherScalarType>(); + m_min = other.min().template cast<Scalar>(); + m_max = other.max().template cast<Scalar>(); } /** \returns \c true if \c *this is approximately equal to \a other, within the precision |