Skip to content

Commit

Permalink
Merge pull request #89 from NilFoundation/update-scalar-mul-interface
Browse files Browse the repository at this point in the history
operator *= now works on scalars
  • Loading branch information
vo-nil authored May 22, 2024
2 parents 00730e2 + a7bc668 commit ff6c6b6
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 ff6c6b6

Please sign in to comment.