Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow weighted means with arbitrary eltype (#476)
PR 442 introduced a restriction of the input element type to be <:Number, which means that the method doesn't get chosen by dispatch for e.g. inputs with missing values. This leads to bizarre behavior, as it dispatches to a nonsensical method where the array is treated as a function.
- Loading branch information
Showing
2 changed files
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters