mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fixed Quaternion operator*= added regression test.
This commit is contained in:
@@ -377,7 +377,8 @@ template <class Derived>
|
||||
template <class OtherDerived>
|
||||
EIGEN_STRONG_INLINE Derived& QuaternionBase<Derived>::operator*= (const QuaternionBase<OtherDerived>& other)
|
||||
{
|
||||
return (derived() = derived() * other.derived());
|
||||
derived() = derived() * other.derived();
|
||||
return derived();
|
||||
}
|
||||
|
||||
/** Rotation of a vector by a quaternion.
|
||||
|
||||
Reference in New Issue
Block a user