Skip to content

Commit

Permalink
Handle case of no concatenations.
Browse files Browse the repository at this point in the history
  • Loading branch information
codygunton committed Oct 31, 2023
1 parent 7c68cce commit c6ddf92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ template <typename Curve> class ZeroMorphProver_ {
};

size_t num_groups = concatenation_groups.size();
size_t num_chunks_per_group = concatenation_groups[0].size();
size_t num_chunks_per_group = concatenation_groups.empty() ? 0 : concatenation_groups[0].size();
// Concatenated polynomials
// std::vector<Polynomial> concatenated_polynomials;
Polynomial concatenated_batched(N);
Expand Down

0 comments on commit c6ddf92

Please sign in to comment.