Skip to content

Conversation

@aman-coder03
Copy link
Contributor

Replaces IndexError with ValueError in _degrees_to_index for invalid
input values.

This aligns the exception type with Python and NumPy conventions and
improves API correctness without changing behavior.

Fixes #2647

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

_degrees_to_index raises IndexError instead of ValueError for invalid inputs

1 participant