summaryrefslogtreecommitdiff
path: root/packages/base/src/Internal/Numeric.hs
diff options
context:
space:
mode:
Diffstat (limited to 'packages/base/src/Internal/Numeric.hs')
-rw-r--r--packages/base/src/Internal/Numeric.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/base/src/Internal/Numeric.hs b/packages/base/src/Internal/Numeric.hs
index 2ef96bf..ca17c23 100644
--- a/packages/base/src/Internal/Numeric.hs
+++ b/packages/base/src/Internal/Numeric.hs
@@ -398,8 +398,8 @@ arctan2 = arctan2'
398-- 398--
399-- >>> cmod 3 (range 5) 399-- >>> cmod 3 (range 5)
400-- fromList [0,1,2,0,1] 400-- fromList [0,1,2,0,1]
401cmod :: (Integral e, Container c e) => Int -> c e -> c e 401cmod :: (Integral e, Container c e) => e -> c e -> c e
402cmod m = cmod' (fromIntegral m) 402cmod = cmod'
403 403
404-- | 404-- |
405-- >>>fromInt ((2><2) [0..3]) :: Matrix (Complex Double) 405-- >>>fromInt ((2><2) [0..3]) :: Matrix (Complex Double)