summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--THANKS3
-rw-r--r--lib/Numeric/LinearAlgebra/Algorithms.hs3
-rw-r--r--lib/Numeric/LinearAlgebra/Tests.hs9
3 files changed, 12 insertions, 3 deletions
diff --git a/THANKS b/THANKS
index df129c7..833b852 100644
--- a/THANKS
+++ b/THANKS
@@ -67,3 +67,6 @@ and all the people in the Haskell mailing lists for their help.
67 67
68- Ozgur Akgun suggested better symbols for the Bound constructors in the 68- Ozgur Akgun suggested better symbols for the Bound constructors in the
69 Linear Programming package. 69 Linear Programming package.
70
71- Tim Sears reported the zgesdd problem also in intel mac.
72
diff --git a/lib/Numeric/LinearAlgebra/Algorithms.hs b/lib/Numeric/LinearAlgebra/Algorithms.hs
index d0f533b..aa18d37 100644
--- a/lib/Numeric/LinearAlgebra/Algorithms.hs
+++ b/lib/Numeric/LinearAlgebra/Algorithms.hs
@@ -131,10 +131,11 @@ instance Field Double where
131instance Field (Complex Double) where 131instance Field (Complex Double) where
132#ifdef NOZGESDD 132#ifdef NOZGESDD
133 svd' = svdC 133 svd' = svdC
134 thinSVD' = thinSVDC
134#else 135#else
135 svd' = svdCd 136 svd' = svdCd
136#endif
137 thinSVD' = thinSVDCd 137 thinSVD' = thinSVDCd
138#endif
138 sv' = svC 139 sv' = svC
139 luPacked' = luC 140 luPacked' = luC
140 luSolve' (l_u,perm) = lusC l_u perm 141 luSolve' (l_u,perm) = lusC l_u perm
diff --git a/lib/Numeric/LinearAlgebra/Tests.hs b/lib/Numeric/LinearAlgebra/Tests.hs
index 4910b67..c9408a6 100644
--- a/lib/Numeric/LinearAlgebra/Tests.hs
+++ b/lib/Numeric/LinearAlgebra/Tests.hs
@@ -228,11 +228,9 @@ runTests n = do
228 test (svdProp1a svdR) 228 test (svdProp1a svdR)
229 test (svdProp1a svdC) 229 test (svdProp1a svdC)
230 test (svdProp1a svdRd) 230 test (svdProp1a svdRd)
231 test (svdProp1a svdCd)
232 test (svdProp1b svdR) 231 test (svdProp1b svdR)
233 test (svdProp1b svdC) 232 test (svdProp1b svdC)
234 test (svdProp1b svdRd) 233 test (svdProp1b svdRd)
235 test (svdProp1b svdCd)
236 test (svdProp2 thinSVDR) 234 test (svdProp2 thinSVDR)
237 test (svdProp2 thinSVDC) 235 test (svdProp2 thinSVDC)
238 test (svdProp2 thinSVDRd) 236 test (svdProp2 thinSVDRd)
@@ -247,6 +245,13 @@ runTests n = do
247 test (svdProp6b) 245 test (svdProp6b)
248 test (svdProp7 . rM) 246 test (svdProp7 . rM)
249 test (svdProp7 . cM) 247 test (svdProp7 . cM)
248 putStrLn "------ svdCd"
249#ifdef NOZGESDD
250 putStrLn "Omitted"
251#else
252 test (svdProp1a svdCd)
253 test (svdProp1b svdCd)
254#endif
250 putStrLn "------ eig" 255 putStrLn "------ eig"
251 test (eigSHProp . rHer) 256 test (eigSHProp . rHer)
252 test (eigSHProp . cHer) 257 test (eigSHProp . cHer)