Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Rumata888 committed Mar 5, 2024
1 parent c2ad41b commit 2dfc7bd
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions barretenberg/cpp/src/barretenberg/commitment_schemes/ipa/ipa.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,16 @@ template <typename Curve> class IPA {
// Run scalar products in parallel
run_loop_in_parallel_if_effective(
round_size,
[&a_vec, &b_vec, round_size, &inner_prod_L, &inner_prod_R, &inner_product_accumulation_mutex](
size_t start, size_t end) {
[&a_vec,
&b_vec,
round_size,
&inner_prod_L,
&inner_prod_R
#ifndef NO_MULTITHREADING
,
&inner_product_accumulation_mutex
#endif
](size_t start, size_t end) {
Fr current_inner_prod_L = Fr::zero();
Fr current_inner_prod_R = Fr::zero();
for (size_t j = start; j < end; j++) {
Expand Down

0 comments on commit 2dfc7bd

Please sign in to comment.