Skip to content

Commit

Permalink
fix: I'm stupid and += translated to a.assign(b)
Browse files Browse the repository at this point in the history
  • Loading branch information
CPerezz committed Feb 9, 2024
1 parent d76f552 commit fe1f158
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions halo2_common/src/poly/domain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -399,14 +399,14 @@ impl<F: WithSmallOrderMulGroup<3>> EvaluationDomain<F> {

parallelize(&mut result[0..(self.n << i) as usize], |result, start| {
for (other, current) in result.iter_mut().zip(a_poly[start..].iter()) {
other.add(current);
other.add_assign(current);
}
});
}
best_fft(&mut result, self.extended_omega, self.extended_k);
parallelize(&mut result_poly.values, |values, start| {
for (value, other) in values.iter_mut().zip(result[start..].into_iter()) {
value.add(other);
value.add_assign(other);
}
});
result_poly
Expand Down

0 comments on commit fe1f158

Please sign in to comment.