aboutsummaryrefslogtreecommitdiffstats
path: root/worksheets
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2021-09-13 18:07:08 -0500
committerMatt Strapp <matt@mattstrapp.net>2021-09-13 18:07:08 -0500
commit15eb219a10ae7d27413a853f281b743ccfb06c47 (patch)
tree67d926ffa8512ee69048ad45a31cece1c7c05665 /worksheets
parentDo WS1 (diff)
downloadcsci4611-15eb219a10ae7d27413a853f281b743ccfb06c47.tar
csci4611-15eb219a10ae7d27413a853f281b743ccfb06c47.tar.gz
csci4611-15eb219a10ae7d27413a853f281b743ccfb06c47.tar.bz2
csci4611-15eb219a10ae7d27413a853f281b743ccfb06c47.tar.lz
csci4611-15eb219a10ae7d27413a853f281b743ccfb06c47.tar.xz
csci4611-15eb219a10ae7d27413a853f281b743ccfb06c47.tar.zst
csci4611-15eb219a10ae7d27413a853f281b743ccfb06c47.zip
Fix parenthesissubmission-w1.1
Diffstat (limited to '')
-rw-r--r--worksheets/a1_textrain.md2
1 files changed, 1 insertions, 1 deletions
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);