Skip to content

Commit a15a32d

Browse files
committed
fix bug
1 parent fcb9d74 commit a15a32d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ceno_zkvm/src/scheme/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ pub(crate) fn wit_infer_by_expr<'a, E: ExtensionField, const N: usize>(
406406
let res = SyncUnsafeCell::new(res);
407407
(0..n_threads).into_par_iter().for_each(|thread_id| unsafe {
408408
let ptr = (*res.get()).as_mut_ptr();
409-
(0..a.len()).skip(thread_id).step_by(n_threads).for_each(
409+
(0..b.len()).skip(thread_id).step_by(n_threads).for_each(
410410
|i| {
411411
*ptr.add(i) = a[0] * b[i];
412412
},

0 commit comments

Comments
 (0)