diff options
Diffstat (limited to 'lib/Numeric/GSL/Vector.hs')
-rw-r--r-- | lib/Numeric/GSL/Vector.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Numeric/GSL/Vector.hs b/lib/Numeric/GSL/Vector.hs index 40abfa8..e912953 100644 --- a/lib/Numeric/GSL/Vector.hs +++ b/lib/Numeric/GSL/Vector.hs | |||
@@ -28,8 +28,11 @@ import Data.Packed.Internal.Signatures | |||
28 | import Data.Packed.Internal.Vector | 28 | import Data.Packed.Internal.Vector |
29 | 29 | ||
30 | import Data.Complex | 30 | import Data.Complex |
31 | import Foreign | 31 | import Foreign.Marshal.Alloc(free) |
32 | import Foreign.Marshal.Array(newArray) | ||
33 | import Foreign.Ptr(Ptr) | ||
32 | import Foreign.C.Types(CInt) | 34 | import Foreign.C.Types(CInt) |
35 | import System.IO.Unsafe(unsafePerformIO) | ||
33 | 36 | ||
34 | fromei x = fromIntegral (fromEnum x) :: CInt | 37 | fromei x = fromIntegral (fromEnum x) :: CInt |
35 | 38 | ||