diff --git a/src/BOPTest/BOPTest_CheckCommands.cxx b/src/BOPTest/BOPTest_CheckCommands.cxx index 72c7e423e3..7c37c401ab 100644 --- a/src/BOPTest/BOPTest_CheckCommands.cxx +++ b/src/BOPTest/BOPTest_CheckCommands.cxx @@ -999,7 +999,7 @@ Standard_Integer checkcurveonsurf(Draw_Interpretor& di, } // aTolE = BRep_Tool::Tolerance(aE); - if (aDMax < aTolE) { + if (!(aDMax > aTolE)) { continue; } //