Skip to content

Commit

Permalink
fix:constraint-generation doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ddl-hust committed Feb 23, 2024
1 parent 6cf7420 commit 217198f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkdocs/docs/circom-language/constraint-generation.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ out <== 1 - a*b;
Which is equivalent to:

```text
out === 1 – a*b;
out <-- 1 - a*b;
out === 1 – a*b;
```

As mentioned before, assigning a value to a signal using `<--` and `-->` is considered dangerous and should, in general, be combined with adding constraints with `===`, which describe by means of constraints which the assigned values are. For example:
Expand Down

0 comments on commit 217198f

Please sign in to comment.