Skip to content

Commit

Permalink
Minor constraints-json.md
Browse files Browse the repository at this point in the history
  • Loading branch information
clararod9 authored Mar 11, 2024
1 parent 8db0c2e commit ea3e1dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkdocs/docs/circom-language/formats/constraints-json.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ where the linear expression is represented by a dictionary with the signal numbe
```
{ "sig_num_l1": "coef_1", ... , "sig_num_lm": "coef_m"}`
```
If you also include the ```--sym``` flag, in the generated [sym file](sym.md) you can see the qualified name in the circom program associted to each signal number, and de signal number 0 is always associated to the constant 1. This way we can express any constant by having it as coeficient of the signal 0.
If you also include the ```--sym``` flag, in the generated [sym file](sym.md) you can see the qualified name in the circom program associted to each signal number, with the signal number 0 always expressing the constant 1. This way we can express any constant by having it as coeficient of the signal 0.

Let us consider the following simple circuit in 'basic.circom':

Expand Down

0 comments on commit ea3e1dd

Please sign in to comment.