From 71d9e800e44247f9cdf01c22f822baae6ddfd2ff Mon Sep 17 00:00:00 2001
From: Akseppal <seppala@laas.fr>
Date: Thu, 7 Apr 2016 15:28:42 +0200
Subject: [PATCH] modify implementation of operator == in
 /include/hpp/fcl/math/vec_3fx.h

---
 include/hpp/fcl/math/vec_3fx.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/hpp/fcl/math/vec_3fx.h b/include/hpp/fcl/math/vec_3fx.h
index 4cc8d869..39538d11 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
-- 
GitLab