diff options
Diffstat (limited to 'lib/Numeric/LinearAlgebra/Linear.hs')
-rw-r--r-- | lib/Numeric/LinearAlgebra/Linear.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Numeric/LinearAlgebra/Linear.hs b/lib/Numeric/LinearAlgebra/Linear.hs index 9bf60e2..0426bb7 100644 --- a/lib/Numeric/LinearAlgebra/Linear.hs +++ b/lib/Numeric/LinearAlgebra/Linear.hs | |||
@@ -55,7 +55,7 @@ instance Linear Vector (Complex Double) where | |||
55 | sub = vectorZipC Sub | 55 | sub = vectorZipC Sub |
56 | mul = vectorZipC Mul | 56 | mul = vectorZipC Mul |
57 | divide = vectorZipC Div | 57 | divide = vectorZipC Div |
58 | equal u v = dim u == dim v && vectorMax (liftVector magnitude (sub u v)) == 0.0 | 58 | equal u v = dim u == dim v && vectorMax (mapVector magnitude (sub u v)) == 0.0 |
59 | 59 | ||
60 | instance (Linear Vector a, Container Matrix a) => (Linear Matrix a) where | 60 | instance (Linear Vector a, Container Matrix a) => (Linear Matrix a) where |
61 | scale x = liftMatrix (scale x) | 61 | scale x = liftMatrix (scale x) |