1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-13 14:27:08 +03:00

0026929: Extrema_ECC hang/crash

Comparator functor corrected to return false in the case of equal elements.
Test case added.
This commit is contained in:
msv
2016-03-26 20:42:49 +03:00
committed by bugmaster
parent bf714c8477
commit afb2781582
2 changed files with 41 additions and 1 deletions

View File

@@ -38,7 +38,7 @@ static Standard_Boolean comp(const gp_XY& theA,
{
if (theA.X() == theB.X())
{
if (theA.Y() <= theB.Y())
if (theA.Y() < theB.Y())
return Standard_True;
}
}