From 853f85be2e7a29af37fe9b080f6d7e98fad10fc0 Mon Sep 17 00:00:00 2001 From: Thomas Breloff Date: Tue, 5 Jul 2016 10:18:48 -0400 Subject: [PATCH] bug fix for passing vectors to bins; closes #375 --- src/recipes.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/recipes.jl b/src/recipes.jl index dde6ecdb..7b6155d0 100644 --- a/src/recipes.jl +++ b/src/recipes.jl @@ -454,7 +454,7 @@ function calc_edges(v, bins::Integer) end # just pass through arrays -calc_edges(v, bins::AVec) = v +calc_edges(v, bins::AVec) = bins # find the bucket index of this value function bucket_index(vi, edges)