diff options
author | Maxim Baz <z0rch.coding@gmail.com> | 2015-02-28 19:14:47 +0100 |
---|---|---|
committer | Maxim Baz <z0rch.coding@gmail.com> | 2015-02-28 19:14:47 +0100 |
commit | b73fc0c7e52b92eb66e610f072b224f928df0a4e (patch) | |
tree | b7072b8540168f0d6acbb6e4e7944a6fa348f233 /packages/base/src/Data | |
parent | 3bdb9256da00f0c301f334553a047b8f67ddc561 (diff) |
GHC 7.11 cannot deduce Fractional and Element instances
Diffstat (limited to 'packages/base/src/Data')
-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 9adc023..257ad73 100644 --- a/packages/base/src/Data/Packed/Internal/Numeric.hs +++ b/packages/base/src/Data/Packed/Internal/Numeric.hs | |||
@@ -241,7 +241,7 @@ instance Container Vector (Complex Float) | |||
241 | 241 | ||
242 | --------------------------------------------------------------- | 242 | --------------------------------------------------------------- |
243 | 243 | ||
244 | instance (Container Vector a) => Container Matrix a | 244 | instance (Fractional a, Element a, Container Vector a) => Container Matrix a |
245 | where | 245 | where |
246 | size' = size | 246 | size' = size |
247 | scale' x = liftMatrix (scale' x) | 247 | scale' x = liftMatrix (scale' x) |