From b004ce1b50d8eafe23a09a580212b8a5b6773c0c Mon Sep 17 00:00:00 2001
From: Berenger Bramas <berenger.bramas@inria.fr>
Date: Thu, 8 Mar 2012 10:32:15 +0100
Subject: [PATCH] Reduce epsilon in test

---
 UTests/utestSphericalWithPrevious.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/UTests/utestSphericalWithPrevious.cpp b/UTests/utestSphericalWithPrevious.cpp
index b6070cd36..bb5e2f97e 100644
--- a/UTests/utestSphericalWithPrevious.cpp
+++ b/UTests/utestSphericalWithPrevious.cpp
@@ -42,7 +42,7 @@ typedef FFmmAlgorithm<OctreeClass, ParticleClass, CellClass, ContainerClass, Ker
 
 /** To check if a value is correct */
 bool IsSimilar(const FReal good, const FReal other){
-    const FReal Epsilon = FReal(0.000001);
+    const FReal Epsilon = FReal(0.0001);
     return (FMath::Abs(good-other)/FMath::Abs(good)) < Epsilon;
 }
 
-- 
GitLab