Skip to content

Commit d65cfde

Browse files
committed
wip11
1 parent 6cbfc49 commit d65cfde

File tree

1 file changed

+10
-0
lines changed
  • extensions/native/circuit/src/sumcheck

1 file changed

+10
-0
lines changed

extensions/native/circuit/src/sumcheck/chip.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,10 @@ where
431431
alpha_acc = FieldExtension::multiply(alpha_denominator, alpha);
432432
}
433433

434+
if let Some(last_row) = rows.last_mut() {
435+
last_row.is_end = F::ONE;
436+
}
437+
434438
let head_row = &mut rows[0];
435439
head_row.last_timestamp = F::from_canonical_u32(cur_timestamp + 1);
436440
head_row.eval_acc = eval_acc;
@@ -534,4 +538,10 @@ impl<F: PrimeField32> TraceFiller<F> for NativeSumcheckFiller {
534538
}
535539
}
536540
}
541+
542+
fn fill_dummy_trace_row(&self, row_slice: &mut [F]) {
543+
let cols: &mut NativeSumcheckCols<F> = row_slice.borrow_mut();
544+
545+
cols.is_end = F::ONE;
546+
}
537547
}

0 commit comments

Comments
 (0)