Skip to content

Commit e404b8b

Browse files
larsgebclaude
andcommitted
Fix mandelbrot() arg order in CI smoke test
Signature is (ctx, width, height, x_min, x_max, y_min, y_max, max_iter); the smoke test had coordinates before dimensions. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 00c11f3 commit e404b8b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ jobs:
9393
lap = metal.laplacian2d(ctx, u)
9494
assert lap.shape == (64, 64), "laplacian2d shape wrong"
9595
96-
# Mandelbrot
97-
img = metal.mandelbrot(ctx, -2.0, 1.0, -1.5, 1.5, 128, 128, 256)
96+
# Mandelbrot — signature: (ctx, width, height, x_min, x_max, y_min, y_max, max_iter)
97+
img = metal.mandelbrot(ctx, 128, 128, -2.0, 1.0, -1.5, 1.5, 256)
9898
assert img.shape == (128, 128), "mandelbrot shape wrong"
9999
100100
# N-body (one step)

0 commit comments

Comments
 (0)