diff options
Diffstat (limited to 'lib/Numeric/LinearAlgebra/Tests.hs')
-rw-r--r-- | lib/Numeric/LinearAlgebra/Tests.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Numeric/LinearAlgebra/Tests.hs b/lib/Numeric/LinearAlgebra/Tests.hs index 5b42226..0b4e3bf 100644 --- a/lib/Numeric/LinearAlgebra/Tests.hs +++ b/lib/Numeric/LinearAlgebra/Tests.hs | |||
@@ -240,7 +240,7 @@ normsVTest = TestList [ | |||
240 | ] where v = fromList [1,-2,3:+4] :: Vector (Complex Double) | 240 | ] where v = fromList [1,-2,3:+4] :: Vector (Complex Double) |
241 | x = fromList [1,2,-3] :: Vector Double | 241 | x = fromList [1,2,-3] :: Vector Double |
242 | norm2PropR a = norm2 a =~= sqrt (dot a a) | 242 | norm2PropR a = norm2 a =~= sqrt (dot a a) |
243 | norm2PropC a = norm2 a =~= sqrt (dot a (conj a)) | 243 | norm2PropC a = norm2 a =~= realPart (sqrt (dot a (conj a))) |
244 | a =~= b = fromList [a] |~| fromList [b] | 244 | a =~= b = fromList [a] |~| fromList [b] |
245 | 245 | ||
246 | normsMTest = TestList [ | 246 | normsMTest = TestList [ |