diff options
author | Alberto Ruiz <aruiz@um.es> | 2015-06-30 14:38:52 +0200 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2015-06-30 14:38:52 +0200 |
commit | 4ada25636995115f2b26707870f611a138f4e20b (patch) | |
tree | 07ade269d5b98ae8284d2064bb3a8ea928e3e405 /packages/base/src/Internal/LAPACK.hs | |
parent | 4730254f061832591d4a44c86d3bdfa4620f4322 (diff) |
subMatrix changed to non copying slice
Diffstat (limited to 'packages/base/src/Internal/LAPACK.hs')
-rw-r--r-- | packages/base/src/Internal/LAPACK.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/base/src/Internal/LAPACK.hs b/packages/base/src/Internal/LAPACK.hs index 13340f2..f2fc68d 100644 --- a/packages/base/src/Internal/LAPACK.hs +++ b/packages/base/src/Internal/LAPACK.hs | |||
@@ -513,7 +513,7 @@ qrgrC :: Int -> (Matrix (Complex Double), Vector (Complex Double)) -> Matrix (Co | |||
513 | qrgrC = qrgrAux zungqr "qrgrC" | 513 | qrgrC = qrgrAux zungqr "qrgrC" |
514 | 514 | ||
515 | qrgrAux f st n (a, tau) = unsafePerformIO $ do | 515 | qrgrAux f st n (a, tau) = unsafePerformIO $ do |
516 | res <- copy ColumnMajor (sliceMatrix (0,0) (rows a,n) a) | 516 | res <- copy ColumnMajor (subMatrix (0,0) (rows a,n) a) |
517 | f # (subVector 0 n tau') # res #| st | 517 | f # (subVector 0 n tau') # res #| st |
518 | return res | 518 | return res |
519 | where | 519 | where |