Skip to content

Commit 68af964

Browse files
committed
Remove useless max()
1 parent 88ec6df commit 68af964

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/kernel/kernel1d.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ impl Kernel1D {
1717
let weights_map: Vec<_> = (0..number_out)
1818
.map(|out| {
1919
let (first, last) = D::bounds(out, scale_factor);
20-
let first = first.max(0);
2120

2221
let last = last.min(number_in - 1);
2322

0 commit comments

Comments
 (0)