Skip to content

Commit

Permalink
Update crates/core/machine/src/alu/add_sub/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
kevjue and github-actions[bot] authored Nov 22, 2024
1 parent 5d6f56c commit a2268a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core/machine/src/alu/add_sub/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ where
// For add instruction, we should set Opcode == 0.
// For sub instruction, we should set Opcode == 1.
// We can simply set opcode = local.is_sub since local.is_add and local.is_sub are
// contraints to be bool and mutually exclusive.
// constraints to be bool and mutually exclusive.
let opcode = local.is_sub;

// Constrain the incrementing nonce.
Expand Down

0 comments on commit a2268a5

Please sign in to comment.