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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user