From 0ba580bcaaad43462ac2156d4fca8454695828b5 Mon Sep 17 00:00:00 2001 From: Michael Krabbe Borregaard Date: Wed, 26 Jan 2022 17:28:56 +0100 Subject: [PATCH] fix the wand binning --- src/recipes.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/recipes.jl b/src/recipes.jl index 9df165e5..3cd07e02 100644 --- a/src/recipes.jl +++ b/src/recipes.jl @@ -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