bug fix for passing vectors to bins; closes #375

This commit is contained in:
Thomas Breloff 2016-07-05 10:18:48 -04:00
parent 521e753183
commit 853f85be2e

View File

@ -454,7 +454,7 @@ function calc_edges(v, bins::Integer)
end end
# just pass through arrays # just pass through arrays
calc_edges(v, bins::AVec) = v calc_edges(v, bins::AVec) = bins
# find the bucket index of this value # find the bucket index of this value
function bucket_index(vi, edges) function bucket_index(vi, edges)