Skip to content

Commit

Permalink
Add missing imports
Browse files Browse the repository at this point in the history
  • Loading branch information
spalladino committed Sep 11, 2023
1 parent 69e9512 commit 6688e90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include "barretenberg/common/assert.hpp"
#include "barretenberg/ecc/scalar_multiplication/scalar_multiplication.hpp"
#include "barretenberg/honk/pcs/claim.hpp"
#include "barretenberg/honk/pcs/verification_key.hpp"
#include "barretenberg/honk/transcript/transcript.hpp"
#include <cstddef>
#include <numeric>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include "barretenberg/common/thread.hpp"
#include "barretenberg/polynomials/barycentric.hpp"
#include "barretenberg/polynomials/pow.hpp"
#include "barretenberg/proof_system/flavor/flavor.hpp"
#include "barretenberg/proof_system/relations/relation_parameters.hpp"

namespace proof_system::honk::sumcheck {
Expand Down Expand Up @@ -423,7 +424,7 @@ template <typename Flavor> class SumcheckVerifierRound {
// TODO(#673): Conditionals like this can go away once native verification is is just recursive verification
// with a simulated builder.
bool sumcheck_round_failed(false);
if constexpr (IsRecursiveFlavor<Flavor>) {
if constexpr (IsRecursiveFlavor<typename T><Flavor>) {
sumcheck_round_failed = (target_total_sum != total_sum).get_value();
} else {
sumcheck_round_failed = (target_total_sum != total_sum);
Expand Down

0 comments on commit 6688e90

Please sign in to comment.