aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--challenge-083/jeongoon/haskell/ch-2.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-083/jeongoon/haskell/ch-2.hs b/challenge-083/jeongoon/haskell/ch-2.hs
index d9584ede0f..66b12b09c0 100644
--- a/challenge-083/jeongoon/haskell/ch-2.hs
+++ b/challenge-083/jeongoon/haskell/ch-2.hs
@@ -15,7 +15,7 @@ import Combinations (combinations)
answerFlipArray :: (Integral a) => [a] -> Int
answerFlipArray nums
- | totalSum == 1 = 0
+ | totalLen == 1 = 0
| otherwise = answerWith totalSum totalLen numCombis
where
totalSum = sum nums