diff --git a/src/systems/physics/Physics.cc b/src/systems/physics/Physics.cc index c014eba481..a0b8cca460 100644 --- a/src/systems/physics/Physics.cc +++ b/src/systems/physics/Physics.cc @@ -249,10 +249,7 @@ class ignition::gazebo::systems::PhysicsPrivate pose3Eql { [](const math::Pose3d &_a, const math::Pose3d &_b) { return _a.Pos().Equal(_b.Pos(), 1e-6) && - math::equal(_a.Rot().X(), _b.Rot().X(), 1e-6) && - math::equal(_a.Rot().Y(), _b.Rot().Y(), 1e-6) && - math::equal(_a.Rot().Z(), _b.Rot().Z(), 1e-6) && - math::equal(_a.Rot().W(), _b.Rot().W(), 1e-6); + _a.Rot().Equal(_b.Rot(), 1e-6); }}; /// \brief AxisAlignedBox equality comparison function.