summaryrefslogtreecommitdiff
path: root/packages/tests/src/Numeric
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2015-06-20 13:49:48 +0200
committerAlberto Ruiz <aruiz@um.es>2015-06-20 13:49:48 +0200
commite09104974d13f66f4ec2e7ae2310346996cf2356 (patch)
treee1203e13f2c1e0587bdcb3938160546dadf0fcb1 /packages/tests/src/Numeric
parentdb50bc11dafa6834a4367427156306674063ed6b (diff)
NFData for Mod, alternative luPacked'' using gaxpy
Diffstat (limited to 'packages/tests/src/Numeric')
-rw-r--r--packages/tests/src/Numeric/LinearAlgebra/Tests.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/tests/src/Numeric/LinearAlgebra/Tests.hs b/packages/tests/src/Numeric/LinearAlgebra/Tests.hs
index d1fc6ec..b226c9f 100644
--- a/packages/tests/src/Numeric/LinearAlgebra/Tests.hs
+++ b/packages/tests/src/Numeric/LinearAlgebra/Tests.hs
@@ -47,6 +47,7 @@ import Debug.Trace
47import Control.Monad(when) 47import Control.Monad(when)
48import Control.Applicative 48import Control.Applicative
49import Control.Monad(ap) 49import Control.Monad(ap)
50import Control.DeepSeq ( NFData(..) )
50 51
51import Test.QuickCheck(Arbitrary,arbitrary,coarbitrary,choose,vector 52import Test.QuickCheck(Arbitrary,arbitrary,coarbitrary,choose,vector
52 ,sized,classify,Testable,Property 53 ,sized,classify,Testable,Property
@@ -770,7 +771,7 @@ cholBench = do
770luBenchN f n x msg = do 771luBenchN f n x msg = do
771 let m = diagRect 1 (fromList (replicate n x)) n n 772 let m = diagRect 1 (fromList (replicate n x)) n n
772 m `seq` putStr "" 773 m `seq` putStr ""
773 time (msg ++ " "++ show n) (f m) 774 time (msg ++ " "++ show n) (rnf $ f m)
774 775
775luBench = do 776luBench = do
776 putStrLn "" 777 putStrLn ""