Commit 08967e37 authored by Chris Cantwell's avatar Chris Cantwell
Browse files

Fixed tolerance check error causing false test passes.

parent 605d02a8
......@@ -132,9 +132,10 @@ namespace Nektar
double val;
try
{
val = fabs(boost::lexical_cast<double>(
val = fabs(fabs(boost::lexical_cast<double>(
okValues[i-1].m_value))
- fabs(boost::lexical_cast<double>(match));
- fabs(boost::lexical_cast<double>(match))
);
}
catch(boost::bad_lexical_cast &e)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment