diff options
author | Alberto Ruiz <aruiz@um.es> | 2015-03-01 19:54:50 +0100 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2015-03-01 19:54:50 +0100 |
commit | eed77477c1b6f9383a65c06d96f1d51f8b4e90e7 (patch) | |
tree | b7072b8540168f0d6acbb6e4e7944a6fa348f233 /packages/base/src/Data | |
parent | 3bdb9256da00f0c301f334553a047b8f67ddc561 (diff) | |
parent | b73fc0c7e52b92eb66e610f072b224f928df0a4e (diff) |
Merge pull request #117 from z0rch/cannot_deduce_fractional_and_element_ghc711
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) |