0026263: Inconsistent results of bopargcheck snd checkcurveonsurf commands.
[occt.git] / src / BOPTest / BOPTest_CheckCommands.cxx
index 72c7e42..7c37c40 100644 (file)
@@ -999,7 +999,7 @@ Standard_Integer checkcurveonsurf(Draw_Interpretor& di,
       }
       //
       aTolE = BRep_Tool::Tolerance(aE);
-      if (aDMax < aTolE) {
+      if (!(aDMax > aTolE)) {
         continue;
       }
       //