diff options
Diffstat (limited to 'ft-compute-stats')
-rwxr-xr-x | ft-compute-stats | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ft-compute-stats b/ft-compute-stats index 6399df4..2f0ed9a 100755 --- a/ft-compute-stats +++ b/ft-compute-stats | |||
@@ -166,7 +166,7 @@ def get_stats(fname): | |||
166 | return [to_str(x) for x in info + stats + finfo] | 166 | return [to_str(x) for x in info + stats + finfo] |
167 | 167 | ||
168 | def make_bins(max_val): | 168 | def make_bins(max_val): |
169 | num_bins = int(ceil(max_val / options.bin_size)) | 169 | num_bins = int(ceil(max_val / options.bin_size)) + 1 |
170 | return [x * options.bin_size for x in range(0, num_bins)] | 170 | return [x * options.bin_size for x in range(0, num_bins)] |
171 | 171 | ||
172 | def hist_file(fname, scale): | 172 | def hist_file(fname, scale): |