Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace warning by assertion for no weights if weighted is True for compute_aggregate #298

Merged
merged 4 commits into from
Apr 24, 2024

Conversation

bfabre01
Copy link

@bfabre01 bfabre01 commented Apr 17, 2024

Aims at solving #287 : for compute_aggregate, replace the warning by an assert when weighted = True (the default) and no weight is defined for the variable. Before, a warning was displayed and the aggregate was computed using uniform weights.

@bfabre01 bfabre01 force-pushed the assertion-no-weithed-compute-aggregate branch 2 times, most recently from 9da6632 to 4d47b6b Compare April 23, 2024 11:48
@bfabre01
Copy link
Author

@benjello : c'est bon, tous les tests passent maintenant.

@bfabre01 bfabre01 merged commit ecb8bbc into master Apr 24, 2024
10 checks passed
@bfabre01 bfabre01 deleted the assertion-no-weithed-compute-aggregate branch April 24, 2024 09:39
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.

3 participants