Skip to content

Commit

Permalink
[matrix]: simplify scale_row (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
tcoratger authored Feb 14, 2025
1 parent a451f4c commit 3b253ac
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crates/math/src/matrix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,6 @@ impl<F: Field> Matrix<F> {
}

fn scale_row(&mut self, i: usize, scalar: F) {
assert!(i < self.m);

for x in self.row_mut(i) {
*x *= scalar;
}
Expand Down

0 comments on commit 3b253ac

Please sign in to comment.