mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0024818: CLang warnings -Wlogical-not-parentheses
CLang warnings -Wlogical-not-parentheses were fixed.
This commit is contained in:
@@ -188,7 +188,7 @@ HLRTest_DrawableEdgeTool::DrawEdge (Draw_Display& D,
|
||||
It.NextVisible()) {
|
||||
It.Visible(sta,tolsta,end,tolend);
|
||||
D.MoveTo(ec.Value3D(sta));
|
||||
if (!ec.GetType() == GeomAbs_Line) {
|
||||
if (ec.GetType() != GeomAbs_Line) {
|
||||
Standard_Integer nbPnt = 100;
|
||||
Standard_Real step = (end-sta)/(nbPnt+1);
|
||||
|
||||
@@ -221,7 +221,7 @@ HLRTest_DrawableEdgeTool::DrawEdge (Draw_Display& D,
|
||||
It.NextHidden()) {
|
||||
It.Hidden(sta,tolsta,end,tolend);
|
||||
D.MoveTo(ec.Value3D(sta));
|
||||
if (!ec.GetType() == GeomAbs_Line) {
|
||||
if (ec.GetType() != GeomAbs_Line) {
|
||||
Standard_Integer nbPnt = 100;
|
||||
Standard_Real step = (end-sta)/(nbPnt+1);
|
||||
|
||||
|
Reference in New Issue
Block a user