From 8b9309a90bc7b4e5215c5f6b4103b6d14cc19f10 Mon Sep 17 00:00:00 2001 From: giles Date: Wed, 4 Feb 2026 09:49:52 +0000 Subject: [PATCH] Fix f-string brace escaping in ripple effect CUDA code --- streaming/sexp_to_cuda.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/streaming/sexp_to_cuda.py b/streaming/sexp_to_cuda.py index eada006..cb23058 100644 --- a/streaming/sexp_to_cuda.py +++ b/streaming/sexp_to_cuda.py @@ -145,10 +145,10 @@ void fused_pipeline( float wave = sinf(dist * frequency * 0.1f + phase); float amp = amplitude * expf(-dist * decay * 0.01f); - if (dist > 0.001f) { + if (dist > 0.001f) {{ ripple_dx += rdx / dist * wave * amp; ripple_dy += rdy / dist * wave * amp; - } + }} }} '''