This commit is contained in:
Nicholas Ward 2022-07-07 13:55:30 -07:00
parent afc5a4dc4f
commit 9ad2958f73

View File

@ -315,7 +315,7 @@ impl<F: RichField + Extendable<D>, const D: usize> MemoryStark<F, D> {
&segment_first_change,
&virtual_first_change,
);
let to_pad_to = max_timestamp_diff.next_power_of_two();
let to_pad_to = max_timestamp_diff.next_power_of_two().max(num_trace_rows);
let to_pad = to_pad_to - num_trace_rows;
trace_cols[SORTED_TIMESTAMP] = sorted_timestamp;