diff --git a/CHANGES b/CHANGES
--- a/CHANGES
+++ b/CHANGES
@@ -51,3 +51,6 @@
 
 0.1.2.10:
 		hmatrix now has find, fix Histogram(2D)
+
+0.1.2.11:
+		fixed indentation that prevented compilation with ghc-7.2
diff --git a/hmatrix-gsl-stats.cabal b/hmatrix-gsl-stats.cabal
--- a/hmatrix-gsl-stats.cabal
+++ b/hmatrix-gsl-stats.cabal
@@ -1,5 +1,5 @@
 Name:               hmatrix-gsl-stats
-Version:            0.1.2.10
+Version:            0.1.2.11
 License:            GPL
 License-file:       LICENSE
 Copyright:          (c) A.V.H. McPhail 2010, 2011
diff --git a/lib/Numeric/GSL/Statistics.hs b/lib/Numeric/GSL/Statistics.hs
--- a/lib/Numeric/GSL/Statistics.hs
+++ b/lib/Numeric/GSL/Statistics.hs
@@ -60,16 +60,16 @@
 -----------------------------------------------------------------------------
 
 getD1 f s v = unsafePerformIO $ do
-              alloca $ \r -> do
+                alloca $ \r -> do
                    app1 (f r) vec v s
                    r' <- peek r
                    return r'
 
 getD2 f s v w = unsafePerformIO $ do
-                alloca $ \r -> do
-                app2 (f r) vec v vec w s
-                r' <- peek r
-                return r'
+                   alloca $ \r -> do
+                      app2 (f r) vec v vec w s
+                      r' <- peek r
+                      return r'
 
 -----------------------------------------------------------------------------
 
