Skip to content

Commit 8d2cb5e

Browse files
committed
Further tweaks
1 parent 559bbc1 commit 8d2cb5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/Echidna/Output/Source.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ combineStats statsRef = do
5050
threadStats' <- allTLS statsRef
5151
threadStats <- mapM readIORef threadStats' :: IO [StatsMap]
5252
statsLists <- pure $ map (\(m :: StatsMap) -> Map.map (\(x :: VU.IOVector StatsInfo) -> mvToList x) m) threadStats :: IO [Map EVM.Types.W256 (IO [StatsInfo])]
53-
traverse (\x -> x >>= U.thaw . U.fromList >>= U.freeze) $ Map.unionsWith zipSumStats statsLists
53+
traverse (U.fromList <$>) $ Map.unionsWith zipSumStats statsLists
5454

5555
saveCoverages
5656
:: Env

0 commit comments

Comments
 (0)