From 7482b3c5929c65ff793d9cab097e9625ddfb2e4c Mon Sep 17 00:00:00 2001 From: Reiner Pope Date: Sat, 7 Jan 2012 10:59:02 +1100 Subject: Removed NOINLINE on newUndefinedMatrix, newUndefinedVector --- lib/Data/Packed/ST.hs | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib') diff --git a/lib/Data/Packed/ST.hs b/lib/Data/Packed/ST.hs index 22aff07..00f5e78 100644 --- a/lib/Data/Packed/ST.hs +++ b/lib/Data/Packed/ST.hs @@ -98,7 +98,6 @@ readVector = safeIndexV unsafeReadVector writeVector :: Storable t => STVector s t -> Int -> t -> ST s () writeVector = safeIndexV unsafeWriteVector -{-# NOINLINE newUndefinedVector #-} newUndefinedVector :: Storable t => Int -> ST s (STVector s t) newUndefinedVector = unsafeIOToST . fmap STVector . createVector @@ -172,7 +171,6 @@ readMatrix = safeIndexM unsafeReadMatrix writeMatrix :: Storable t => STMatrix s t -> Int -> Int -> t -> ST s () writeMatrix = safeIndexM unsafeWriteMatrix -{-# NOINLINE newUndefinedMatrix #-} newUndefinedMatrix :: Storable t => MatrixOrder -> Int -> Int -> ST s (STMatrix s t) newUndefinedMatrix order r c = unsafeIOToST $ fmap STMatrix $ createMatrix order r c -- cgit v1.2.3