Mentions légales du service

Skip to content
Snippets Groups Projects
Commit b004ce1b authored by BRAMAS Berenger's avatar BRAMAS Berenger
Browse files

Reduce epsilon in test

parent 83a97f07
Branches
Tags debian/4.3.3-7
No related merge requests found
...@@ -42,7 +42,7 @@ typedef FFmmAlgorithm<OctreeClass, ParticleClass, CellClass, ContainerClass, Ker ...@@ -42,7 +42,7 @@ typedef FFmmAlgorithm<OctreeClass, ParticleClass, CellClass, ContainerClass, Ker
/** To check if a value is correct */ /** To check if a value is correct */
bool IsSimilar(const FReal good, const FReal other){ 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; return (FMath::Abs(good-other)/FMath::Abs(good)) < Epsilon;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment