diff --git a/hmatrix-special.cabal b/hmatrix-special.cabal
--- a/hmatrix-special.cabal
+++ b/hmatrix-special.cabal
@@ -1,5 +1,5 @@
 Name:               hmatrix-special
-Version:            0.3.0.1
+Version:            0.4.0.0
 License:            GPL
 License-file:       LICENSE
 Author:             Alberto Ruiz
@@ -27,7 +27,7 @@
     default:        False
 
 library
-    Build-Depends:  base <5, hmatrix, hmatrix-gsl
+    Build-Depends:  base <5, hmatrix>=0.17, hmatrix-gsl
 
     Extensions:     ForeignFunctionInterface,
                     CPP
diff --git a/lib/Numeric/GSL/Special/Internal.hsc b/lib/Numeric/GSL/Special/Internal.hsc
--- a/lib/Numeric/GSL/Special/Internal.hsc
+++ b/lib/Numeric/GSL/Special/Internal.hsc
@@ -33,7 +33,7 @@
 import Foreign.Ptr
 import Foreign.Marshal
 import System.IO.Unsafe(unsafePerformIO)
-import Data.Packed.Development(check,(//))
+import Numeric.LinearAlgebra.Devel(check,(//))
 import Foreign.C.Types
 
 data Precision = PrecDouble | PrecSingle | PrecApprox
