Skip to content

Commit

Permalink
fix the wand binning
Browse files Browse the repository at this point in the history
  • Loading branch information
mkborregaard committed Jan 26, 2022
1 parent 46e19d9 commit 0ba580b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/recipes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ function _auto_binning_nbins(
elseif mode == :fd # Freedman–Diaconis 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
Expand Down

0 comments on commit 0ba580b

Please sign in to comment.