Skip to content

Commit

Permalink
placeholder_circuit_test_3 changed #180
Browse files Browse the repository at this point in the history
  • Loading branch information
ETatuzova committed Oct 3, 2023
1 parent 9dc6995 commit e04c2fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ namespace nil {

for(std::size_t i = 0; i < public_input_gate.size(); i++){
const auto &var = public_input_gate[i];
auto key = std::tuple(var.index, var.rotation, var.type);
auto key = std::tuple(var.index, 0, var.type);
auto value = columns_at_y[key] - public_input[i];
value *= math::polynomial_shift(common_data.lagrange_0, var.rotation, common_data.basic_domain->m).evaluate(challenge);
result *= alpha;
Expand Down
2 changes: 1 addition & 1 deletion test/systems/plonk/placeholder/circuits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ namespace nil {
test_circuit.lookup_gates.push_back(lookup_gate);

plonk_variable<assignment_type> pi0(0, 0, false, plonk_variable<assignment_type>::column_type::witness);
plonk_variable<assignment_type> pi1(1, 0, false, plonk_variable<assignment_type>::column_type::witness);
plonk_variable<assignment_type> pi1(1, 2, false, plonk_variable<assignment_type>::column_type::witness);
test_circuit.public_input_gate.push_back(pi0);
test_circuit.public_input_gate.push_back(pi1);

Expand Down

0 comments on commit e04c2fc

Please sign in to comment.