Skip to content
Snippets Groups Projects
Commit 24b1c2a3 authored by Olivier Stasse's avatar Olivier Stasse
Browse files

Remove any digits after 1e-8 for regression tests.

parent eb173fa9
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,10 @@ namespace PatternGeneratorJRL
{
if (fabs(adb)<1e-8)
return 0.0;
return adb;
double ladb2 = adb * 1e8;
double lintadb2 = trunc(ladb2);
return lintadb2/1e8;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment