spacetelescope / spherical_geometry

A Python package for handling spherical polygons that represent arbitrary regions of the sky
http://spherical-geometry.readthedocs.io/
62 stars 31 forks source link

Fix crash in convex_hull when input includes repeated points #254

Closed mcara closed 11 months ago

mcara commented 11 months ago

Fixes #231

This PR fixes a bug in the quad-accuracy angle() function that would result in a crash in convex_hull() when input includes repeated points.

codecov[bot] commented 11 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Files Coverage Δ
spherical_geometry/polygon.py 82.37% <100.00%> (ø)

:loudspeaker: Thoughts on this report? Let us know!.