1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-24 13:50:49 +03:00

OCC22324 Mistakes with parenthesis position in abs calls

This commit is contained in:
SZY
2011-04-28 15:02:22 +00:00
committed by bugmaster
parent c80dc6c3f4
commit 82ac7cbbe7
3 changed files with 6 additions and 5 deletions

View File

@@ -163,7 +163,7 @@ void Aspect_RectangularGrid::Init () {
Standard_Boolean Aspect_RectangularGrid::CheckAngle(const Standard_Real alpha,
const Standard_Real beta) const {
return Abs( Sin(alpha)*Cos(beta+Standard_PI/2.) - Cos(alpha)*Sin(beta+Standard_PI/2.) != 0) ;
return (Abs( Sin(alpha) * Cos(beta+Standard_PI/2.) - Cos(alpha) * Sin(beta+Standard_PI/2.)) != 0) ;
}