Skip to content

Commit 4b4a3d0

Browse files
authored
Don't wrap external witness values (#2530)
1 parent 57aca36 commit 4b4a3d0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

executor/src/witgen/mod.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -540,10 +540,7 @@ impl<'a, T: FieldElement> FixedData<'a, T> {
540540
self.witness_cols[column]
541541
.external_values
542542
.as_ref()
543-
.and_then(|v| {
544-
let row = row % v.len() as u64;
545-
v.get(row as usize).cloned()
546-
})
543+
.and_then(|v| v.get(row as usize).cloned())
547544
}
548545

549546
fn witnesses_until_current_stage(&self) -> impl Iterator<Item = PolyID> + '_ {

0 commit comments

Comments
 (0)