astyle fix

This commit is contained in:
Reijo Tomperi 2010-04-05 21:12:43 +03:00
parent f895ab9a0d
commit 93d195aa0f
1 changed files with 4 additions and 4 deletions

View File

@ -2576,12 +2576,12 @@ void CheckOther::checkMathFunctions()
{
mathfunctionCallError(tok, 2);
}
// pow ( x , y) If x is zero, and y is negative --> division by zero
// pow ( x , y) If x is zero, and y is negative --> division by zero
else if (Token::Match(tok, "pow ( %num% , %num% )") &&
MathLib::isNullValue(tok->tokAt(2)->str()) &&
MathLib::isNegative(tok->tokAt(4)->str()))
MathLib::isNullValue(tok->tokAt(2)->str()) &&
MathLib::isNegative(tok->tokAt(4)->str()))
{
mathfunctionCallError(tok,2);
mathfunctionCallError(tok, 2);
}
}