diff options
| -rw-r--r-- | challenge-083/jeongoon/haskell/ch-2.hs | 2 |
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 c64170400a..c219187a99 100644 --- a/challenge-083/jeongoon/haskell/ch-2.hs +++ b/challenge-083/jeongoon/haskell/ch-2.hs @@ -16,7 +16,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 |
