Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

GHC 7.6.1 compatibility (Issue #4)

  • Loading branch information...
commit 6dcc0e1b556ce566d310e3c93e0994a4be2ba9a7 1 parent 65e3d20
Edward Kmett authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  algebra.cabal
  2. +2 −2 src/Numeric/Coalgebra/Geometric.hs
2  algebra.cabal
View
@@ -1,6 +1,6 @@
name: algebra
category: Math, Algebra
-version: 3.0
+version: 3.0.1
license: BSD3
cabal-version: >= 1.6
license-file: LICENSE
4 src/Numeric/Coalgebra/Geometric.hs
View
@@ -120,8 +120,8 @@ grade = fromIntegral . count 5 . count 4 . count 3 . count 2 . count 1 . count 0
p = shiftL 1 c
mask = (-1) `div` (shiftL 1 p + 1)
-m1powTimes :: (Bits n, Group r) => n -> r -> r
-m1powTimes n r
+m1powTimes :: (Num n, Bits n, Group r) => n -> r -> r
+m1powTimes n r
| (n .&. 1) == 0 = r
| otherwise = negate r
Please sign in to comment.
Something went wrong with that request. Please try again.