bug fix for passing vectors to bins; closes #375
This commit is contained in:
parent
521e753183
commit
853f85be2e
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user