diff options
Diffstat (limited to 'packages/base/src/Data/Packed/Internal')
-rw-r--r-- | packages/base/src/Data/Packed/Internal/Numeric.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/base/src/Data/Packed/Internal/Numeric.hs b/packages/base/src/Data/Packed/Internal/Numeric.hs index dc5724d..7a4dd29 100644 --- a/packages/base/src/Data/Packed/Internal/Numeric.hs +++ b/packages/base/src/Data/Packed/Internal/Numeric.hs | |||
@@ -240,7 +240,7 @@ instance Container Vector (Complex Float) | |||
240 | 240 | ||
241 | --------------------------------------------------------------- | 241 | --------------------------------------------------------------- |
242 | 242 | ||
243 | instance (Container Vector a) => Container Matrix a | 243 | instance (Fractional a, Element a, Container Vector a) => Container Matrix a |
244 | where | 244 | where |
245 | size' = size | 245 | size' = size |
246 | scale' x = liftMatrix (scale' x) | 246 | scale' x = liftMatrix (scale' x) |