tally: don't add extra bucket unless buckets == 0
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 25 Sep 2010 02:15:12 +0000 (11:45 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Sat, 25 Sep 2010 02:15:12 +0000 (11:45 +0930)
commit097857e6c09bf9696797fe08cd4241b8315f9c9a
treee03b0b8d5b24042bae53488211ec897ab9343f8f
parentfdea8abee49e9158275741c210bbb27caf6754fa
tally: don't add extra bucket unless buckets == 0

That way we match our comment about optimal tally_new() arg matching histogram height.
ccan/tally/tally.c
ccan/tally/test/run-renormalize.c