Skip to content

Commit

Permalink
chore(bb): fix double increment (#7428)
Browse files Browse the repository at this point in the history
That I just introduced.
  • Loading branch information
fcarreiro authored Jul 10, 2024
1 parent 7b8c2ba commit 7870a58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion barretenberg/cpp/src/barretenberg/common/ref_array.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ template <typename T, std::size_t N> class RefArray {
RefArray(const std::array<T*, N>& ptr_array)
{
for (std::size_t i = 0; i < N; ++i) {
storage[i++] = ptr_array[i];
storage[i] = ptr_array[i];
}
}
template <typename... Ts> RefArray(T& ref, Ts&... rest)
Expand Down

1 comment on commit 7870a58

@AztecBot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'C++ Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.05.

Benchmark suite Current: 7870a58 Previous: 3af6a5d Ratio
nativeconstruct_proof_ultrahonk_power_of_2/20 5233.258150999987 ms/iter 4753.632216999989 ms/iter 1.10

This comment was automatically generated by workflow using github-action-benchmark.

CC: @ludamad @codygunton

Please sign in to comment.