Skip to content

Commit abe0522

Browse files
committed
Arithmetic
1 parent 5196830 commit abe0522

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spartan_parallel/src/sparse_mlpoly.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,8 +450,7 @@ impl<S: SpartanExtensionField> SparseMatPolynomial<S> {
450450

451451
for i in 0..self.M.len() {
452452
let entry = &self.M[i];
453-
M_evals[entry.col / max_num_cols][entry.col % max_num_cols] =
454-
M_evals[entry.col / max_num_cols][entry.col % max_num_cols] + rx[entry.row] * entry.val;
453+
M_evals[entry.col / max_num_cols][entry.col % max_num_cols] += rx[entry.row] * entry.val;
455454
}
456455
M_evals
457456
}

0 commit comments

Comments
 (0)