histogram: Fix a couple of bugs.
commit3c9dec8e237078429961acbf67697aa06a44d644
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 27 May 2023 23:17:22 +0000 (27 16:17 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 28 May 2023 02:53:16 +0000 (27 19:53 -0700)
tree54f2ab0ef8d6cfb81a2e0d09e3a17ad1d6307b06
parent853f8d8a9f96db308f7d59c54a62e8b8b6574a52
histogram: Fix a couple of bugs.

The bug report wasn't specific enough to know that this fixes
the problem, which was an assertion failure for
  assert (*adjusted_min <= min);
in hist_find_pretty_no_of_bins().

Thanks to Stefan Huber for reporting these bugs.
src/math/chart-geometry.c
src/math/histogram.c