diff options
Diffstat (limited to 'Eigen/src/Geometry/Rotation2D.h')
-rw-r--r-- | Eigen/src/Geometry/Rotation2D.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Geometry/Rotation2D.h b/Eigen/src/Geometry/Rotation2D.h index f638ee245..5dea645c8 100644 --- a/Eigen/src/Geometry/Rotation2D.h +++ b/Eigen/src/Geometry/Rotation2D.h @@ -114,7 +114,7 @@ public: template<typename OtherScalarType> inline explicit Rotation2D(const Rotation2D<OtherScalarType>& other) { - m_angle = other.angle(); + m_angle = Scalar(other.angle()); } /** \returns \c true if \c *this is approximately equal to \a other, within the precision |