Mod: [skip ci] minor improvements

This commit is contained in:
wmayer
2022-08-06 20:32:37 +02:00
parent 0ed91f1b6a
commit 1f20e692ac
2 changed files with 2 additions and 2 deletions

View File

@@ -758,7 +758,7 @@ bool GeomCurve::intersect(const Handle(Geom_Curve) curve1, const Handle(Geom_Cur
catch (Standard_Failure& e) {
// Yes Extrema finding failed, but if we got an intersection then go on with it
if(!points.empty())
return !points.empty()?true:false;
return true;
else
THROWM(Base::CADKernelError,e.GetMessageString())
}