summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2011-04-27 07:13:09 +0000
committerAlberto Ruiz <aruiz@um.es>2011-04-27 07:13:09 +0000
commite2dde2e24f581d37eb862392aee1cb2e09cf0951 (patch)
treef64c4c7804740ea9f8a5f460a9f115cdffc8d18b
parent9dec8034f28289120dd98452c26d153713346668 (diff)
fixed cmap signature
-rw-r--r--THANKS5
-rw-r--r--hmatrix.cabal2
-rw-r--r--lib/Numeric/ContainerBoot.hs2
3 files changed, 5 insertions, 4 deletions
diff --git a/THANKS b/THANKS
index ac52363..a8641b6 100644
--- a/THANKS
+++ b/THANKS
@@ -89,8 +89,9 @@ module reorganization, monadic mapVectorM, and many other improvements.
89 helped with the configuration. 89 helped with the configuration.
90 90
91- Carter Schonwald helped with the configuration for Homebrew OS X and 91- Carter Schonwald helped with the configuration for Homebrew OS X and
92 found a tolerance problem in test "1E5 rots". 92 found a tolerance problem in test "1E5 rots". He also discovered
93 a bug in the signature of cmap.
93 94
94- Duncan Coutts reported a problem with configure.hs and contributed 95- Duncan Coutts reported a problem with configure.hs and contributed
95 a solution and a simplified a Setup.lhs. 96 a solution and a simplified Setup.lhs.
96 97
diff --git a/hmatrix.cabal b/hmatrix.cabal
index deb05f7..a8dcb43 100644
--- a/hmatrix.cabal
+++ b/hmatrix.cabal
@@ -1,5 +1,5 @@
1Name: hmatrix 1Name: hmatrix
2Version: 0.11.0.4 2Version: 0.11.0.5
3License: GPL 3License: GPL
4License-file: LICENSE 4License-file: LICENSE
5Author: Alberto Ruiz 5Author: Alberto Ruiz
diff --git a/lib/Numeric/ContainerBoot.hs b/lib/Numeric/ContainerBoot.hs
index fd94e06..a605545 100644
--- a/lib/Numeric/ContainerBoot.hs
+++ b/lib/Numeric/ContainerBoot.hs
@@ -95,7 +95,7 @@ class (Complexable c, Fractional e, Element e) => Container c e where
95 arctan2 :: c e -> c e -> c e 95 arctan2 :: c e -> c e -> c e
96 -- 96 --
97 -- | cannot implement instance Functor because of Element class constraint 97 -- | cannot implement instance Functor because of Element class constraint
98 cmap :: (Element a, Element b) => (a -> b) -> c a -> c b 98 cmap :: (Element b) => (e -> b) -> c e -> c b
99 -- | constant structure of given size 99 -- | constant structure of given size
100 konst :: e -> IndexOf c -> c e 100 konst :: e -> IndexOf c -> c e
101 -- | create a structure using a function 101 -- | create a structure using a function