diff --git a/src/SES.hs b/src/SES.hs index 57ada6d5b..1d58ed4ea 100644 --- a/src/SES.hs +++ b/src/SES.hs @@ -35,3 +35,5 @@ diffAt (i, j) cost (a : as) (b : bs) = do Nothing -> do put $ Map.insert (i, j) [] cachedDiffs return [] + where + sumCost script = sum $ cost <$> script