Skip to content

Commit 84f0c80

Browse files
committed
Removes unecessary comment
1 parent 9e9c3f9 commit 84f0c80

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/tri.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,6 @@ where
100100
Zip::indexed(self.rows())
101101
.and(res.rows_mut())
102102
.for_each(|i, src, mut dst| {
103-
// This ncols must go inside the loop to avoid panic on 1D arrays.
104-
// Statistically-neglible difference in performance vs defining ncols at top.
105103
let row_num = i.into_dimension().last_elem();
106104
let upper = min(row_num as isize + k, ncols) + 1;
107105
dst.slice_mut(s![..upper]).assign(&src.slice(s![..upper]));

0 commit comments

Comments
 (0)