Skip to content

removed true_divide warning#51

Merged
aesuli merged 1 commit intoHLT-ISTI:develfrom
aesuli:true_divide_where
Feb 9, 2026
Merged

removed true_divide warning#51
aesuli merged 1 commit intoHLT-ISTI:develfrom
aesuli:true_divide_where

Conversation

@aesuli
Copy link
Contributor

@aesuli aesuli commented Feb 9, 2026

true_divide used with the where argument and out implicity set to None print a warning about the values of the newly create data structure returned as output to have uninitialized value for the indexes that are excluded by the where clause.
Explicitly setting out=None removes the warning.
The issue with uninitialized values is covered by the successive part of the code that set uniform distribution for the classes with accum==0.

@aesuli aesuli merged commit f4ac6da into HLT-ISTI:devel Feb 9, 2026
2 of 3 checks passed
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