Histograms: Put hard limit on the number of histogram bins
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 25 Mar 2012 08:47:27 +0000 (10:47 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 25 Mar 2012 08:47:27 +0000 (10:47 +0200)
commitd532977937c51fd8d08fdabe57e06af4b05a8ed0
tree809f6c4c74cbf4b225a9bb8dd74ef14af1021bf6
parentb961c772eaaead1cea1c2bd892089546e0e3f471
Histograms: Put hard limit on the number of histogram bins

Histograms with less than one bin are not useful (and tend to cause crashes!)
Histograms with very large numbers of bins are also of little use, and cause
other implementation headaches.
src/math/histogram.c