Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
georgwiese committed Dec 20, 2024
1 parent a70d9f8 commit c58f4cb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion executor/src/witgen/jit/function_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,10 @@ impl<'a, T: FieldElement> FunctionCache<'a, T> {
Variable::Cell(cell) => Some(cell.row_offset),
_ => None,
})
.all(|row_offset| row_offset >= 0 || row_offset < self.block_size as i32);
.all(|row_offset| row_offset >= 0 && row_offset < self.block_size as i32);
if !is_rectangular {
log::debug!("Filtering out code for non-rectangular block shape");
}
is_rectangular.then_some(code)
})
.map(|code| {
Expand Down

0 comments on commit c58f4cb

Please sign in to comment.