summaryrefslogtreecommitdiff
path: root/lib/Numeric/LinearAlgebra
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2010-04-06 09:48:25 +0000
committerAlberto Ruiz <aruiz@um.es>2010-04-06 09:48:25 +0000
commitd3f5ec99d5839206dfb2bba7df5a98d250a2c60e (patch)
treeebe1309ea76f4911b2c9b28742dc6cb98232b7b6 /lib/Numeric/LinearAlgebra
parent9843671b65c2196243893325d2804e3037b1a770 (diff)
fixed option -f-dd
Diffstat (limited to 'lib/Numeric/LinearAlgebra')
-rw-r--r--lib/Numeric/LinearAlgebra/Algorithms.hs3
-rw-r--r--lib/Numeric/LinearAlgebra/Tests.hs9
2 files changed, 9 insertions, 3 deletions
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)