summaryrefslogtreecommitdiff
path: root/packages/base/src/Numeric/LinearAlgebra/Util
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2014-05-27 20:21:47 +0200
committerAlberto Ruiz <aruiz@um.es>2014-05-27 20:21:47 +0200
commit53559833d2166010eed754027484fb8d5525e710 (patch)
treed1cd40e45e6062ef6bece255b20424f90091a910 /packages/base/src/Numeric/LinearAlgebra/Util
parentcf3c788f0c44577ac1a5365e8154200b53a36409 (diff)
expose CSR
Diffstat (limited to 'packages/base/src/Numeric/LinearAlgebra/Util')
-rw-r--r--packages/base/src/Numeric/LinearAlgebra/Util/CG.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/base/src/Numeric/LinearAlgebra/Util/CG.hs b/packages/base/src/Numeric/LinearAlgebra/Util/CG.hs
index 50372f1..f821b57 100644
--- a/packages/base/src/Numeric/LinearAlgebra/Util/CG.hs
+++ b/packages/base/src/Numeric/LinearAlgebra/Util/CG.hs
@@ -115,7 +115,7 @@ instance Testable GMatrix
115 sma = convo2 20 3 115 sma = convo2 20 3
116 x1 = vect [1..20] 116 x1 = vect [1..20]
117 x2 = vect [1..40] 117 x2 = vect [1..40]
118 sm = mkSparse sma 118 sm = (mkSparse . mkCSR) sma
119 dm = toDense sma 119 dm = toDense sma
120 120
121 s1 = sm !#> x1 121 s1 = sm !#> x1