1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

0022688: Syntax error in file BRepOffset_Inter2d.cxx: wrong usage of brackets in comparison

This commit is contained in:
JGV 2011-08-12 04:07:32 +00:00 committed by bugmaster
parent 0a0cf81379
commit 9c12265e4b

View File

@ -1282,7 +1282,7 @@ static void ExtentEdge(const TopoDS_Edge& E,TopoDS_Edge& NE, const Standard_Real
Standard_Real LastPar = C3d->LastParameter();
if (C3d->IsKind(STANDARD_TYPE(Geom_BoundedCurve)) &&
FirstPar > anEf - a2Offset || LastPar < anEl + a2Offset)
(FirstPar > anEf - a2Offset || LastPar < anEl + a2Offset))
{
Handle(Geom_TrimmedCurve) aTrCurve =
new Geom_TrimmedCurve(C3d, FirstPar, LastPar);