0024818: CLang warnings -Wlogical-not-parentheses
[occt.git] / src / BRepFill / BRepFill_MultiLine.cxx
index bf9356e..2da32eb 100644 (file)
@@ -602,7 +602,7 @@ static gp_Pnt2d ValueOnFace(const Standard_Real        U,
 
   Standard_Real UU =0., Dist = Precision::Infinite(), D1, D2;
 
-  if ( !Ext.NbPoints() == 0 ) {    
+  if ( Ext.NbPoints() != 0 ) {
     UU = Ext.LowerDistanceParameter();
     Dist = Ext.LowerDistance();
   }