Skip to content

Fix spurious Numba error#166

Merged
HannoSpreeuw merged 1 commit into
masterfrom
Fix_165
Oct 3, 2025
Merged

Fix spurious Numba error#166
HannoSpreeuw merged 1 commit into
masterfrom
Fix_165

Conversation

@HannoSpreeuw
Copy link
Copy Markdown
Collaborator

  1. Fixes Bug with numba 0.62.0 #165, following this recommendation:
    https://numba.readthedocs.io/en/0.59.0/reference/fpsemantics.html#warnings-and-errors i.e. using a context manager.
    This has a downside: we'll be missing other FloatingPointErrors.

  2. Unit tests still pass with 'over="raise"', so let's enforce that for some extra safety.

1) Fixes #165, following this recommendation:
https://numba.readthedocs.io/en/0.59.0/reference/fpsemantics.html#warnings-and-errors
i.e. using a context manager.
This has a downside: we'll be missing other FloatingPointErrors.

2) Unit tests still pass with 'over="raise"', so let's enforce that for some extra safety.
@HannoSpreeuw HannoSpreeuw merged commit ffb8a36 into master Oct 3, 2025
9 checks passed
@HannoSpreeuw HannoSpreeuw deleted the Fix_165 branch October 3, 2025 15:43
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.

Bug with numba 0.62.0

1 participant