fix the wand binning

This commit is contained in:
Michael Krabbe Borregaard 2022-01-26 17:28:56 +01:00
parent 46e19d9ad5
commit 0ba580bcaa

View File

@ -795,7 +795,7 @@ function _auto_binning_nbins(
elseif mode == :fd # FreedmanDiaconis rule
_cl(_span(v) / (2 * _iqr(v) / nd))
elseif mode == :wand
_cl(wand_edges(v)) # this makes this function not type stable, but the type instability does not propagate
wand_edges(v) # this makes this function not type stable, but the type instability does not propagate
else
error("Unknown auto-binning mode $mode")
end