Borland C++: Fixed compiler error

This commit is contained in:
Daniel Marjamäki 2010-04-03 07:51:40 +02:00
parent 38d64d0520
commit 5f9e14e242
1 changed files with 1 additions and 1 deletions

View File

@ -2476,7 +2476,7 @@ void CheckOther::checkMathFunctions()
} }
// acos( x ), asin( x ) where x is defined for intervall [-1,+1], but not beyound // acos( x ), asin( x ) where x is defined for intervall [-1,+1], but not beyound
else if (Token::Match(tok, "acos|asin ( %num% )") && 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); mathfunctionCallError(tok);
} }