From 16be900b820f4700fecf510d329f6382bbf7202c Mon Sep 17 00:00:00 2001 From: Jean-Claude Iehl <jean-claude.iehl@univ-lyon1.fr> Date: Thu, 21 Mar 2024 11:08:28 +0000 Subject: [PATCH] Update correction.md --- code/correction.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/correction.md b/code/correction.md index b0be5dd..fa26e32 100644 --- a/code/correction.md +++ b/code/correction.md @@ -13,8 +13,8 @@ il faut reprendre la boucle de rendu de l'image, elle n'est pas compatible avec ``` version classique par pixel : -for(int py...) -for(int px...) +for(py < height) +for(px < width) Sampler rng( seed ) for(i < samples) rng.index(i) -- GitLab