diff --git a/repa-algorithms/Data/Array/Repa/Algorithms/Matrix.hs b/repa-algorithms/Data/Array/Repa/Algorithms/Matrix.hs index f7703c2c..759a4fc9 100644 --- a/repa-algorithms/Data/Array/Repa/Algorithms/Matrix.hs +++ b/repa-algorithms/Data/Array/Repa/Algorithms/Matrix.hs @@ -56,7 +56,7 @@ mmultP arr brr do trr <- transpose2P brr let (Z :. h1 :. _) = extent arr let (Z :. _ :. w2) = extent brr - computeP + trr `deepSeqArray` computeP $ fromFunction (Z :. h1 :. w2) $ \ix -> R.sumAllS $ R.zipWith (*)