diff --git a/hmatrix.cabal b/hmatrix.cabal
--- a/hmatrix.cabal
+++ b/hmatrix.cabal
@@ -1,11 +1,11 @@
 Name:               hmatrix
-Version:            0.20.1
+Version:            0.20.2
 License:            BSD3
 License-file:       LICENSE
 Author:             Alberto Ruiz
-Maintainer:         Alberto Ruiz
+Maintainer:         Dominic Steinitz
 Stability:          provisional
-Homepage:           https://github.com/albertoruiz/hmatrix
+Homepage:           https://github.com/haskell-numerics/hmatrix
 Synopsis:           Numeric Linear Algebra
 Description:        Linear systems, matrix decompositions, and other numerical computations based on BLAS and LAPACK.
                     .
@@ -16,7 +16,7 @@
                     Code examples: <http://dis.um.es/~alberto/hmatrix/hmatrix.html>
 
 Category:           Math
-tested-with:        GHC==8.2, GHC==8.4
+tested-with:        GHC==8.10
 
 cabal-version:       >=1.18
 
@@ -161,4 +161,4 @@
 
 source-repository head
     type:     git
-    location: https://github.com/albertoruiz/hmatrix
+    location: https://github.com/haskell-numerics/hmatrix
diff --git a/src/Internal/Sparse.hs b/src/Internal/Sparse.hs
--- a/src/Internal/Sparse.hs
+++ b/src/Internal/Sparse.hs
@@ -179,7 +179,7 @@
 fromCSR :: CSR -> GMatrix
 fromCSR csr = SparseR {..}
   where
-    gmCSR @ CSR {..} = csr
+    gmCSR@CSR {..} = csr
     nRows = csrNRows
     nCols = csrNCols
 
diff --git a/src/Internal/Util.hs b/src/Internal/Util.hs
--- a/src/Internal/Util.hs
+++ b/src/Internal/Util.hs
@@ -632,7 +632,7 @@
     y:ys = redu (pivot n xs)
 
     pivot k = (const k &&& id)
-            . sortBy (flip compare `on` (abs. (!k)))
+            . sortBy (flip compare `on` (abs. (! k)))
 
     redu :: (Int, [Vector t]) -> [Vector t]
     redu (k,x:zs)
diff --git a/src/Numeric/LinearAlgebra/Static.hs b/src/Numeric/LinearAlgebra/Static.hs
--- a/src/Numeric/LinearAlgebra/Static.hs
+++ b/src/Numeric/LinearAlgebra/Static.hs
@@ -415,7 +415,7 @@
 
 
 headTail :: (KnownNat n, 1<=n) => R n -> (ℝ, R (n-1))
-headTail = ((!0) . extract *** id) . split
+headTail = ((! 0) . extract *** id) . split
 
 
 splitRows :: forall p m n . (KnownNat p, KnownNat m, KnownNat n, p<=m) => L m n -> (L p n, L (m-p) n)
