Skip to content

Commit

Permalink
Merge pull request #1216 from geieredgar/remove-parentheses
Browse files Browse the repository at this point in the history
Fix CI by removing unnecessary parentheses
  • Loading branch information
sebcrozet authored Mar 7, 2023
2 parents 52e6db9 + 171e92b commit c0ad6a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/linalg/convolution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ impl<T: RealField, D1: Dim, S1: Storage<T, D1>> Vector<T, D1, S1> {
let u_f = cmp::min(i, vec - 1);

if u_i == u_f {
conv[i] += self[u_i].clone() * kernel[(i - u_i)].clone();
conv[i] += self[u_i].clone() * kernel[i - u_i].clone();
} else {
for u in u_i..(u_f + 1) {
if i - u < ker {
conv[i] += self[u].clone() * kernel[(i - u)].clone();
conv[i] += self[u].clone() * kernel[i - u].clone();
}
}
}
Expand Down

0 comments on commit c0ad6a2

Please sign in to comment.