diff options
Diffstat (limited to 'lib/Numeric/Container.hs')
-rw-r--r-- | lib/Numeric/Container.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Numeric/Container.hs b/lib/Numeric/Container.hs index 8cf3e07..83bf44e 100644 --- a/lib/Numeric/Container.hs +++ b/lib/Numeric/Container.hs | |||
@@ -62,7 +62,7 @@ type instance IndexOf Matrix = (Int,Int) | |||
62 | ------------------------------------------------------------------- | 62 | ------------------------------------------------------------------- |
63 | 63 | ||
64 | -- | Basic element-by-element functions for numeric containers | 64 | -- | Basic element-by-element functions for numeric containers |
65 | class (Complexable c, Element e) => Container c e where | 65 | class (Complexable c, Fractional e, Element e) => Container c e where |
66 | -- | create a structure with a single element | 66 | -- | create a structure with a single element |
67 | scalar :: e -> c e | 67 | scalar :: e -> c e |
68 | -- | complex conjugate | 68 | -- | complex conjugate |