summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--THANKS3
-rw-r--r--hmatrix.cabal4
-rw-r--r--lib/Numeric/LinearAlgebra/Tests.hs2
3 files changed, 7 insertions, 2 deletions
diff --git a/THANKS b/THANKS
index 083495b..c6a8264 100644
--- a/THANKS
+++ b/THANKS
@@ -88,3 +88,6 @@ module reorganization, monadic mapVectorM, and many other improvements.
88- Sacha Sokoloski reported an installation problem on Arch Linux and 88- Sacha Sokoloski reported an installation problem on Arch Linux and
89 helped with the configuration. 89 helped with the configuration.
90 90
91- Carter Schonwald helped with the configuration for Homebrew OS X and
92 found a tolerance problem in test "1E5 rots".
93
diff --git a/hmatrix.cabal b/hmatrix.cabal
index bd64998..dd1a6b3 100644
--- a/hmatrix.cabal
+++ b/hmatrix.cabal
@@ -179,7 +179,9 @@ library
179 179
180 if os(OSX) 180 if os(OSX)
181 extra-lib-dirs: /opt/local/lib/ 181 extra-lib-dirs: /opt/local/lib/
182 include-dirs: /opt/local/include 182 include-dirs: /opt/local/include/
183 extra-lib-dirs: /usr/local/lib/
184 include-dirs: /usr/local/include/
183 extra-libraries: gsl 185 extra-libraries: gsl
184 if arch(i386) 186 if arch(i386)
185 cc-options: -arch i386 187 cc-options: -arch i386
diff --git a/lib/Numeric/LinearAlgebra/Tests.hs b/lib/Numeric/LinearAlgebra/Tests.hs
index 2b5869d..5036e3f 100644
--- a/lib/Numeric/LinearAlgebra/Tests.hs
+++ b/lib/Numeric/LinearAlgebra/Tests.hs
@@ -213,7 +213,7 @@ rot a = (3><3) [ c,0,s
213 where c = cos a 213 where c = cos a
214 s = sin a 214 s = sin a
215 215
216rotTest = fun (10^5) :~12~: rot 5E4 216rotTest = fun (10^5) :~11~: rot 5E4
217 where fun n = foldl1' (<>) (map rot angles) 217 where fun n = foldl1' (<>) (map rot angles)
218 where angles = toList $ linspace n (0,1) 218 where angles = toList $ linspace n (0,1)
219 219