astyle fix

This commit is contained in:
Reijo Tomperi 2010-04-02 22:17:09 +03:00
parent f36af278d0
commit 93d4851040
1 changed files with 3 additions and 3 deletions

View File

@ -2474,9 +2474,9 @@ void CheckOther::checkMathFunctions()
{
mathfunctionCallError(tok);
}
// 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)
// 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)
{
mathfunctionCallError(tok);
}