astyle fix
This commit is contained in:
parent
f895ab9a0d
commit
93d195aa0f
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue