Skip to content

Commit

Permalink
minor changes #16
Browse files Browse the repository at this point in the history
  • Loading branch information
Luannet committed Apr 27, 2022
1 parent 41c8d0b commit 0c81360
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ namespace nil {

constexpr static const typename BlueprintFieldType::value_type endo = typename BlueprintFieldType::value_type(algebra::fields::arithmetic_params<BlueprintFieldType>::multiplicative_generator).pow(typename BlueprintFieldType::integral_type( ( (BlueprintFieldType::value_type::zero() - BlueprintFieldType::value_type::one()) * ( typename BlueprintFieldType::value_type(3) ).inversed() ).data));
constexpr static const std::size_t selector_seed = 0x0f02;
constexpr static const std::size_t rows_amount = unified_addition_component::rows_amount + 33;
constexpr static const std::size_t rows_amount = 33;
constexpr static const std::size_t gates_amount = 1;

struct params_type {
Expand Down Expand Up @@ -274,7 +274,7 @@ namespace nil {
const params_type params,
const std::size_t start_row_index){

std::size_t j = start_row_index;
std::size_t j = start_row_index + unified_addition_component::rows_amount;
typename unified_addition_component::params_type unified_addition_params = {{params.T.x, params.T.y}, {params.T.x, params.T.y}};
zk::components::generate_circuit<unified_addition_component>(bp, assignment, unified_addition_params, start_row_index);
typename unified_addition_component::result_type double_result(unified_addition_params, j - 1);
Expand Down

0 comments on commit 0c81360

Please sign in to comment.