diff --git a/lib/checkother.cpp b/lib/checkother.cpp index 966334130..582e565b6 100644 --- a/lib/checkother.cpp +++ b/lib/checkother.cpp @@ -2476,7 +2476,7 @@ void CheckOther::checkMathFunctions() } // acos( x ), asin( x ) where x is defined for intervall [-1,+1], but not beyound else if (Token::Match(tok, "acos|asin ( %num% )") && - fabs(MathLib::toDoubleNumber(tok->tokAt(2)->str())) > 1.0) + std::fabs(MathLib::toDoubleNumber(tok->tokAt(2)->str())) > 1.0) { mathfunctionCallError(tok); }