jfg8/csDelaunay

index out of range in LloydRelaxation

Closed this issue · 1 comments

In certain situations the function LloydRelaxation returns an empty list. When leveraging the item at index [count-1], being -1 the function will throw an index out of bounds error. The function needs to check for the length of the region list.

jfg8 commented

You are perflectly right, It should now be corrected.

Thank you for letting me know!