Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
hero78119 committed Dec 19, 2024
1 parent fcb9d74 commit a15a32d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ceno_zkvm/src/scheme/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ pub(crate) fn wit_infer_by_expr<'a, E: ExtensionField, const N: usize>(
let res = SyncUnsafeCell::new(res);
(0..n_threads).into_par_iter().for_each(|thread_id| unsafe {
let ptr = (*res.get()).as_mut_ptr();
(0..a.len()).skip(thread_id).step_by(n_threads).for_each(
(0..b.len()).skip(thread_id).step_by(n_threads).for_each(
|i| {
*ptr.add(i) = a[0] * b[i];
},
Expand Down

0 comments on commit a15a32d

Please sign in to comment.