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:
@@ -59,6 +59,9 @@ template<typename Scalar> void quaternion(void)
|
||||
q1.coeffs().setRandom();
|
||||
VERIFY_IS_APPROX(q1.coeffs(), (q1*q2).coeffs());
|
||||
|
||||
// concatenation
|
||||
q1 *= q2;
|
||||
|
||||
q1 = AngleAxisx(a, v0.normalized());
|
||||
q2 = AngleAxisx(a, v1.normalized());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user