Skip to content

Use scoped NumPy error handling - #16

Open
karimknaebel wants to merge 1 commit into
EasternJournalist:mainfrom
karimknaebel:fix/thread-safe-numpy-errstate
Open

Use scoped NumPy error handling#16
karimknaebel wants to merge 1 commit into
EasternJournalist:mainfrom
karimknaebel:fix/thread-safe-numpy-errstate

Conversation

@karimknaebel

@karimknaebel karimknaebel commented Aug 30, 2026

Copy link
Copy Markdown

Replace the global warning-filter helper with scoped NumPy error handling. The old approach was not thread-safe, so warnings could still surface during multi-threaded data loading; np.errstate is the correct way to control floating-point warnings in NumPy.

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.

1 participant