bmizerany / perks

Effective Computation of Things
BSD 2-Clause "Simplified" License
187 stars 54 forks source link

fix data loss bug + histogram correctness tests #2

Closed d2fn closed 11 years ago

d2fn commented 11 years ago

1) verify bin count is <= maxBins not == 2) ensure that the number of points in all bins is the number of points recorded 3) avoid losing data when compressing bins in the middle of a slice