summaryrefslogtreecommitdiff
path: root/lib/Data/Packed
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2007-11-12 10:11:32 +0000
committerAlberto Ruiz <aruiz@um.es>2007-11-12 10:11:32 +0000
commit33a9909d0d59f468039597c405306b8d5fa9e008 (patch)
tree5448bb82efa72f6e61d85829518a1cd54fca4911 /lib/Data/Packed
parentc41d21fefa04c66039a0b218daaa53c2577ef838 (diff)
diagAux error
Diffstat (limited to 'lib/Data/Packed')
-rw-r--r--lib/Data/Packed/Internal/Matrix.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Data/Packed/Internal/Matrix.hs b/lib/Data/Packed/Internal/Matrix.hs
index 010c40b..5617996 100644
--- a/lib/Data/Packed/Internal/Matrix.hs
+++ b/lib/Data/Packed/Internal/Matrix.hs
@@ -317,7 +317,7 @@ subMatrix = subMatrixD
317 317
318diagAux fun msg (v@V {dim = n}) = unsafePerformIO $ do 318diagAux fun msg (v@V {dim = n}) = unsafePerformIO $ do
319 m <- createMatrix RowMajor n n 319 m <- createMatrix RowMajor n n
320 fun // vec v // matc m // check msg [cdat m] 320 fun // vec v // matc m // check msg [v]
321 return m -- {tdat = dat m} 321 return m -- {tdat = dat m}
322 322
323-- | diagonal matrix from a real vector 323-- | diagonal matrix from a real vector