Skip to content

Commit

Permalink
operator *= now works on scalars
Browse files Browse the repository at this point in the history
  • Loading branch information
vo-nil committed May 21, 2024
1 parent 00730e2 commit a7bc668
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ namespace nil {
for (std::size_t k = 0; k < n; k += 2 * m) {
for (std::size_t j = 0, idx = 0; j < m; ++j, idx += inc) {
t = a[k + j + m];
t *= omega_cache[idx].data;
t *= omega_cache[idx];
a[k + j + m] = a[k + j];
a[k + j + m] -= t;
a[k + j] += t;
Expand Down

0 comments on commit a7bc668

Please sign in to comment.