Skip to content

Commit

Permalink
refs #9022 A simple comment
Browse files Browse the repository at this point in the history
  • Loading branch information
abuts committed Feb 19, 2014
1 parent 0d47d5b commit 0fdfa95
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -390,7 +390,7 @@ inline bool TOL_ERR(const double &x1,const double &x2,const double &ERROR_VAL)
{

double num= std::fabs(x1-x2);
// how to treat x1<0 and x2 > 0 ?
// how to treat x1<0 and x2 > 0 ? probably this way
double den=0.5*(std::fabs(x1)+std::fabs(x2));
if (den<ERROR_VAL)
return (num>ERROR_VAL);
Expand Down

0 comments on commit 0fdfa95

Please sign in to comment.