diff --git a/include/hpp/fcl/math/vec_3fx.h b/include/hpp/fcl/math/vec_3fx.h index 4cc8d86907cb73442dc1650d3f38771616034917..39538d1193b70ee59b299cd5e3b2d6e3f70c88c6 100644 --- a/include/hpp/fcl/math/vec_3fx.h +++ b/include/hpp/fcl/math/vec_3fx.h @@ -132,7 +132,8 @@ public: bool operator == (const Vec3fX& other) const { - return equal(other, 0); + return (data[0] == other.data[0] && data[1] == other.data[1] + && data[2] == other.data[2]); } bool operator != (const Vec3fX& other) const