Hello, So i bumped into a problem with quaternion function `isApprox` that tells whether or not two quaternions are the same. Though, quaternions can represent the same rotation and have different values. Here is the code. Eigen::Quaterniond q1 = Eigen::Quaterniond::UnitRandom(); Eigen::Quaterniond q2(-q1.w(), -q1.x(), -q1.y(), -q1.z()); q1.isApprox(q2); // return false q1.angularDistance(q2); // return 0 q1 and q2 represent the same rotation (modulo 2*pi), maybe the function should return true? Best, Vincent S.
-- GitLab Migration Automatic Message -- This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/1713.