summaryrefslogtreecommitdiff
path: root/lib/Data/Packed/Internal/Matrix.hs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Data/Packed/Internal/Matrix.hs')
-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 7678a12..ccc652a 100644
--- a/lib/Data/Packed/Internal/Matrix.hs
+++ b/lib/Data/Packed/Internal/Matrix.hs
@@ -357,6 +357,6 @@ fromFile filename (r,c) = do
357 charname <- newCString filename 357 charname <- newCString filename
358 res <- createMatrix RowMajor r c 358 res <- createMatrix RowMajor r c
359 app1 (c_gslReadMatrix charname) mat res "gslReadMatrix" 359 app1 (c_gslReadMatrix charname) mat res "gslReadMatrix"
360 --free charname -- TO DO: free the auxiliary CString 360 free charname
361 return res 361 return res
362foreign import ccall "matrix_fscanf" c_gslReadMatrix:: Ptr CChar -> TM 362foreign import ccall "matrix_fscanf" c_gslReadMatrix:: Ptr CChar -> TM