From 15eb219a10ae7d27413a853f281b743ccfb06c47 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Mon, 13 Sep 2021 18:07:08 -0500 Subject: Fix parenthesis --- worksheets/a1_textrain.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worksheets/a1_textrain.md b/worksheets/a1_textrain.md index 7849594..2f9c64f 100644 --- a/worksheets/a1_textrain.md +++ b/worksheets/a1_textrain.md @@ -73,7 +73,7 @@ final int threshold = 128; // Returns: thresholded color (black or white) color thresholdPixel(color inputPixel) { - if blue(inputPixel) < threshold { + if (blue(inputPixel) < threshold) { return color(0); } else { return color(255); -- cgit v1.2.3