Skip to content

Fix NumPy warning in eta calculation - #5

Open
TNYASIN wants to merge 1 commit into
farakiko:muoncolliderfrom
TNYASIN:changes
Open

Fix NumPy warning in eta calculation#5
TNYASIN wants to merge 1 commit into
farakiko:muoncolliderfrom
TNYASIN:changes

Conversation

@TNYASIN

@TNYASIN TNYASIN commented Jul 15, 2026

Copy link
Copy Markdown

NumPy >= 2.4 warns when where is used without out because masked entries may contain uninitialized memory.
In the eta calculation, these entries were overwritten immediately afterward, so this was not causing an issue currently. However, setting out explicitly makes the behavior safe and avoids relying on the subsequent overwrite.

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