diff options
Diffstat (limited to 'Eigen/src/Geometry/AngleAxis.h')
-rw-r--r-- | Eigen/src/Geometry/AngleAxis.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Geometry/AngleAxis.h b/Eigen/src/Geometry/AngleAxis.h index ca53140fb..ba3e9f46e 100644 --- a/Eigen/src/Geometry/AngleAxis.h +++ b/Eigen/src/Geometry/AngleAxis.h @@ -74,7 +74,7 @@ public: inline AngleAxis(const QuaternionType& q) { *this = q; } /** Constructs and initialize the angle-axis rotation from a 3x3 rotation matrix. */ template<typename Derived> - inline AngleAxis(const MatrixBase<Derived>& m) { *this = m; } + inline explicit AngleAxis(const MatrixBase<Derived>& m) { *this = m; } Scalar angle() const { return m_angle; } Scalar& angle() { return m_angle; } |