diff options
author | Alberto Ruiz <aruiz@um.es> | 2015-06-20 13:49:48 +0200 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2015-06-20 13:49:48 +0200 |
commit | e09104974d13f66f4ec2e7ae2310346996cf2356 (patch) | |
tree | e1203e13f2c1e0587bdcb3938160546dadf0fcb1 /packages/tests/src/Numeric | |
parent | db50bc11dafa6834a4367427156306674063ed6b (diff) |
NFData for Mod, alternative luPacked'' using gaxpy
Diffstat (limited to 'packages/tests/src/Numeric')
-rw-r--r-- | packages/tests/src/Numeric/LinearAlgebra/Tests.hs | 3 |
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 | |||
47 | import Control.Monad(when) | 47 | import Control.Monad(when) |
48 | import Control.Applicative | 48 | import Control.Applicative |
49 | import Control.Monad(ap) | 49 | import Control.Monad(ap) |
50 | import Control.DeepSeq ( NFData(..) ) | ||
50 | 51 | ||
51 | import Test.QuickCheck(Arbitrary,arbitrary,coarbitrary,choose,vector | 52 | import Test.QuickCheck(Arbitrary,arbitrary,coarbitrary,choose,vector |
52 | ,sized,classify,Testable,Property | 53 | ,sized,classify,Testable,Property |
@@ -770,7 +771,7 @@ cholBench = do | |||
770 | luBenchN f n x msg = do | 771 | luBenchN 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 | ||
775 | luBench = do | 776 | luBench = do |
776 | putStrLn "" | 777 | putStrLn "" |