Skip to content

Commit ffa2cf5

Browse files
Fix typo bug
1 parent 9c1dbbd commit ffa2cf5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crates/circuits/sha256-air/src/trace.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,7 @@ impl<C: ShaConfig + ShaPrecomputedValues<C::Word>> ShaAir<C> {
107107
*cols.flags.local_block_idx = F::from_canonical_u32(local_block_idx);
108108

109109
// W_idx = M_idx
110-
// TODO: fix this. should be smtg like `if i < C::BLOCK_WORDS`
111-
if i < C::ROWS_PER_BLOCK / C::ROUNDS_PER_ROW {
110+
if i < C::BLOCK_WORDS / C::ROUNDS_PER_ROW {
112111
for j in 0..C::ROUNDS_PER_ROW {
113112
cols.message_schedule
114113
.w

0 commit comments

Comments
 (0)