hmatrix 0.17.0.1 → 0.17.0.2
raw patch · 3 files changed
+4/−3 lines, 3 filesdep ~arraydep ~basedep ~binary
Dependency ranges changed: array, base, binary, bytestring, deepseq, random, split, storable-complex, vector
Files
- hmatrix.cabal +2/−2
- src/Internal/Matrix.hs +1/−0
- src/Internal/Modular.hs +1/−1
hmatrix.cabal view
@@ -1,5 +1,5 @@ Name: hmatrix-Version: 0.17.0.1+Version: 0.17.0.2 License: BSD3 License-file: LICENSE Author: Alberto Ruiz@@ -16,7 +16,7 @@ Code examples: <http://dis.um.es/~alberto/hmatrix/hmatrix.html> Category: Math-tested-with: GHC==7.8+tested-with: GHC==8.0 cabal-version: >=1.8
src/Internal/Matrix.hs view
@@ -5,6 +5,7 @@ {-# LANGUAGE TypeOperators #-} {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE ViewPatterns #-}+{-# LANGUAGE ConstrainedClassMethods #-}
src/Internal/Modular.hs view
@@ -72,7 +72,7 @@ where compare a b = compare (unMod a) (unMod b) -instance (Real t, KnownNat m, Integral (Mod m t)) => Real (Mod m t)+instance (Integral t, KnownNat m, Integral (Mod m t)) => Real (Mod m t) where toRational x = toInteger x % 1