Skip to content

Commit

Permalink
Add variable initialization #33
Browse files Browse the repository at this point in the history
  • Loading branch information
ETatuzova authored and nkaskov committed Oct 14, 2023
1 parent 67ff791 commit 24b45f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/nil/blueprint/transpiler/evm_verifier_gen.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ namespace nil {

std::string zero_indices(columns_rotations_type col_rotations){
std::vector<std::size_t> zero_indices;
std::uint16_t fixed_values_points;
std::uint16_t fixed_values_points = 0;
std::stringstream result;

for(std::size_t i= 0; i < PlaceholderParams::constant_columns + PlaceholderParams::selector_columns; i++){
Expand All @@ -116,6 +116,7 @@ namespace nil {
j++;
}
}

std::uint16_t sum = fixed_values_points;
std::size_t i = 0;
for(; i < PlaceholderParams::witness_columns + PlaceholderParams::public_input_columns; i++){
Expand Down

0 comments on commit 24b45f0

Please sign in to comment.