Skip to content

Commit

Permalink
fix: mac-build (#9216)
Browse files Browse the repository at this point in the history
fix mac build issues with emplace back
  • Loading branch information
ledwards2225 authored Oct 12, 2024
1 parent e8065a2 commit 80ea32c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ typename BatchedAffineAddition<Curve>::ThreadData BatchedAffineAddition<Curve>::
// Construct the addition sequences for each thread
std::vector<AdditionSequences> addition_sequences;
for (size_t i = 0; i < num_threads; ++i) {
addition_sequences.emplace_back(thread_sequence_counts[i], thread_points[i], thread_scratch_space[i]);
addition_sequences.push_back(
AdditionSequences{ thread_sequence_counts[i], thread_points[i], thread_scratch_space[i] });
}

return { addition_sequences, thread_sequence_tags };
Expand Down

0 comments on commit 80ea32c

Please sign in to comment.