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

@kandersolar
Copy link
Member

@aman-coder03 the tests are failing, can you take a look?

@aman-coder03
Copy link
Contributor Author

@kandersolar thanks for having a look
i will update the issues that are causing the test to fail soon!!

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

2 participants