arkworks-rs / snark

Interfaces for Relations and SNARKs for these relations
https://www.arkworks.rs
Apache License 2.0
769 stars 203 forks source link

fix typos #359

Closed hyemmie closed 2 years ago

hyemmie commented 2 years ago

Description

fixed typos at constraint_system.rs

  1. matrix_generation_example() is about Vitalik's example according to Vitalik, Variable::Witness(30) is sym_2, not y

  2. instance variable value is 35, not 5 line 1116 is already showing,

    let out = cs.new_input_variable(|| Ok(nine * three + three + five))?; // public input

closes: #XXXX


Before we can merge this PR, please make sure that all the following items have been checked off. If any of the checklist items are not applicable, please leave them but write a little note why.

mmagician commented 2 years ago

@hyemmie Thanks for the fixes!