bugfix in Quaternion found by Daniel Stonier

This commit is contained in:
Gael Guennebaud 2008-10-25 09:25:29 +00:00
parent 0c5a09d93f
commit 72f2c7eed5

View File

@ -168,7 +168,7 @@ public:
inline void normalize() { m_coeffs.normalize(); }
/** \returns a normalized version of \c *this
* \sa normalize(), MatrixBase::normalized() */
inline Quaternion normalized() const { Quaternion(m_coeffs.normalized()); }
inline Quaternion normalized() const { return Quaternion(m_coeffs.normalized()); }
/** \returns the dot product of \c *this and \a other
* Geometrically speaking, the dot product of two unit quaternions