Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
codygunton committed Sep 6, 2024
1 parent a8c4b4e commit f5ddef7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions barretenberg/cpp/.clangd
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ Diagnostics:
- modernize-use-nodiscard
# Misleading; linker error fixed by adding const in declaration
- readability-avoid-const-params-in-decls
# const size_t circuit_size = static_cast<size_t>(...) is not better as const auto; auto is for clarity or cheap local polymorphism
- modernize-use-auto

--- # this divider is necessary
# Disable some checks for Google Test/Bench
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ std::shared_ptr<typename DeciderVerificationKeys::DeciderVK> ProtogalaxyVerifier
const std::shared_ptr<const DeciderVK>& accumulator = keys_to_fold[0]; // WORKTODO: move

const FF delta = transcript->template get_challenge<FF>("delta");
const size_t log_circuit_size = accumulator->verification_key->log_circuit_size;
const size_t log_circuit_size = static_cast<size_t>(accumulator->verification_key->log_circuit_size);
const std::vector<FF> deltas = compute_round_challenge_pows(log_circuit_size, delta);

std::vector<FF> perturbator_coeffs(log_circuit_size + 1, 0);
Expand Down

0 comments on commit f5ddef7

Please sign in to comment.