chr1shr / voro

Voro++: a three-dimensional Voronoi cell library in C++
Other
154 stars 44 forks source link

ENH: handle zero-norm points in solid angle calculation #22

Closed pmla closed 2 years ago

pmla commented 2 years ago

I have addressed the zero-norm issue discussed in #21. If a point has zero norm, the normalized point now also has zero norm (rather than crashing due to divide-by-zero).