diff options
Diffstat (limited to 'packages/glpk')
-rw-r--r-- | packages/glpk/hmatrix-glpk.cabal | 5 | ||||
-rw-r--r-- | packages/glpk/lib/Numeric/LinearProgramming.hs | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/packages/glpk/hmatrix-glpk.cabal b/packages/glpk/hmatrix-glpk.cabal index 3231ef7..f9655d4 100644 --- a/packages/glpk/hmatrix-glpk.cabal +++ b/packages/glpk/hmatrix-glpk.cabal | |||
@@ -30,10 +30,7 @@ library | |||
30 | 30 | ||
31 | c-sources: lib/Numeric/LinearProgramming/glpk.c | 31 | c-sources: lib/Numeric/LinearProgramming/glpk.c |
32 | 32 | ||
33 | if impl(ghc < 7.4) | 33 | ghc-options: -Wall |
34 | ghc-options: -Wall -fno-warn-dodgy-imports | ||
35 | else | ||
36 | ghc-options: -Wall | ||
37 | 34 | ||
38 | extra-libraries: glpk | 35 | extra-libraries: glpk |
39 | 36 | ||
diff --git a/packages/glpk/lib/Numeric/LinearProgramming.hs b/packages/glpk/lib/Numeric/LinearProgramming.hs index c8cb0e1..b832bac 100644 --- a/packages/glpk/lib/Numeric/LinearProgramming.hs +++ b/packages/glpk/lib/Numeric/LinearProgramming.hs | |||
@@ -71,7 +71,7 @@ import Numeric.LinearAlgebra hiding (i) | |||
71 | import Data.Packed.Development | 71 | import Data.Packed.Development |
72 | import Foreign(Ptr) | 72 | import Foreign(Ptr) |
73 | import System.IO.Unsafe(unsafePerformIO) | 73 | import System.IO.Unsafe(unsafePerformIO) |
74 | import Foreign.C.Types(CInt(..)) | 74 | import Foreign.C.Types |
75 | import Data.List((\\),sortBy,nub) | 75 | import Data.List((\\),sortBy,nub) |
76 | import Data.Function(on) | 76 | import Data.Function(on) |
77 | 77 | ||