Skip to content

Commit 39b323c

Browse files
mivertowskiclaude
andcommitted
Fix clippy int_plus_one warning in ringkernel-wavesim
Change `x + 8 <= width - 1` to equivalent `x + 8 < width`. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 46845e4 commit 39b323c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • crates/ringkernel-wavesim/src/simulation

crates/ringkernel-wavesim/src/simulation/grid.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ impl SimulationGrid {
243243
let two = f32x8::splat(2.0);
244244

245245
let mut x = 1;
246-
while x + 8 <= width - 1 {
246+
while x + 8 < width {
247247
let idx = row_start + x;
248248
let local_idx = x;
249249

0 commit comments

Comments
 (0)