Skip to content

Commit 61ebe6e

Browse files
committed
Delete commented-out code
1 parent d9cf3a5 commit 61ebe6e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/histogram.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -113,14 +113,6 @@ impl Histogram {
113113
let bin_width = (max - min) / num_bins as f64; // width of bin in real units
114114

115115
for &val in v.iter() {
116-
/*
117-
let mut bin = ((val - min) / bin_width) as usize;
118-
if bin == num_bins && val == max {
119-
//We are right on the top-most bound
120-
bin = num_bins - 1;
121-
}
122-
*/
123-
124116
let bin = bounds
125117
.pairwise()
126118
.enumerate()

0 commit comments

Comments
 (0)