summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES5
-rw-r--r--examples/parallel.hs4
-rw-r--r--hmatrix.cabal2
3 files changed, 8 insertions, 3 deletions
diff --git a/CHANGES b/CHANGES
index ffc3e49..475302e 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,8 @@
10.7.0.0
2=======
3
4- NFData instances for deepseq/parallel-2
5
10.6.0.0 60.6.0.0
2======= 7=======
3 8
diff --git a/examples/parallel.hs b/examples/parallel.hs
index 388a48e..efcbe8a 100644
--- a/examples/parallel.hs
+++ b/examples/parallel.hs
@@ -5,8 +5,8 @@ import Numeric.LinearAlgebra
5import Control.Parallel.Strategies 5import Control.Parallel.Strategies
6import System.Time 6import System.Time
7 7
8inParallel = parMap rdeepseq id 8inParallel = parMap rwhnf id
9-- rwhnf also works in this case 9-- rdeepseq (or older rnf) not needed in this case
10 10
11-- matrix product decomposed into p parallel subtasks 11-- matrix product decomposed into p parallel subtasks
12parMul p x y = fromBlocks [ inParallel ( map (x <>) ys ) ] 12parMul p x y = fromBlocks [ inParallel ( map (x <>) ys ) ]
diff --git a/hmatrix.cabal b/hmatrix.cabal
index 6cfd98c..8ed131a 100644
--- a/hmatrix.cabal
+++ b/hmatrix.cabal
@@ -1,5 +1,5 @@
1Name: hmatrix 1Name: hmatrix
2Version: 0.6.0.1 2Version: 0.7.0.0
3License: GPL 3License: GPL
4License-file: LICENSE 4License-file: LICENSE
5Author: Alberto Ruiz 5Author: Alberto Ruiz