mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0024177: Eliminate CLang compiler warning -Wlogical-op-parentheses (&& within ||)
Some fixes to eliminate warning
This commit is contained in:
@@ -483,7 +483,7 @@ void BRepLib_FindSurface::Init(const TopoDS_Shape& S,
|
||||
//static Standard_Real weakness = 5.0;
|
||||
Standard_Real weakness = 5.0;
|
||||
//XXf
|
||||
if(dfDist <= myTolerance || dfDist < myTolerance*weakness && Tol<0) {
|
||||
if(dfDist <= myTolerance || (dfDist < myTolerance*weakness && Tol<0)) {
|
||||
//XXf
|
||||
//myTolReached = dfDist;
|
||||
//XXt
|
||||
|
Reference in New Issue
Block a user