diff options
author | Bas van Dijk <v.dijk.bas@gmail.com> | 2011-09-01 14:25:37 +0000 |
---|---|---|
committer | Bas van Dijk <v.dijk.bas@gmail.com> | 2011-09-01 14:25:37 +0000 |
commit | 4e6c686dd496e9b7bdd209da3e8fbd3ac47de65a (patch) | |
tree | e54a0d2639624bd5f40ea25e6539699b68e59261 /lib/Numeric/GSL/Fitting.hs | |
parent | c236a193ed710a29b6940b87bcbe05cb8f4a086a (diff) |
Get rid of some deprecation warnings & Use more explicit imports
Diffstat (limited to 'lib/Numeric/GSL/Fitting.hs')
-rw-r--r-- | lib/Numeric/GSL/Fitting.hs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Numeric/GSL/Fitting.hs b/lib/Numeric/GSL/Fitting.hs index e5aa528..337dc6a 100644 --- a/lib/Numeric/GSL/Fitting.hs +++ b/lib/Numeric/GSL/Fitting.hs | |||
@@ -51,10 +51,12 @@ module Numeric.GSL.Fitting ( | |||
51 | 51 | ||
52 | import Data.Packed.Internal | 52 | import Data.Packed.Internal |
53 | import Numeric.LinearAlgebra | 53 | import Numeric.LinearAlgebra |
54 | import Foreign | ||
55 | import Foreign.C.Types(CInt) | ||
56 | import Numeric.GSL.Internal | 54 | import Numeric.GSL.Internal |
57 | 55 | ||
56 | import Foreign.Ptr(FunPtr, freeHaskellFunPtr) | ||
57 | import Foreign.C.Types(CInt) | ||
58 | import System.IO.Unsafe(unsafePerformIO) | ||
59 | |||
58 | ------------------------------------------------------------------------- | 60 | ------------------------------------------------------------------------- |
59 | 61 | ||
60 | data FittingMethod = LevenbergMarquardtScaled -- ^ Interface to gsl_multifit_fdfsolver_lmsder. This is a robust and efficient version of the Levenberg-Marquardt algorithm as implemented in the scaled lmder routine in minpack. Minpack was written by Jorge J. More, Burton S. Garbow and Kenneth E. Hillstrom. | 62 | data FittingMethod = LevenbergMarquardtScaled -- ^ Interface to gsl_multifit_fdfsolver_lmsder. This is a robust and efficient version of the Levenberg-Marquardt algorithm as implemented in the scaled lmder routine in minpack. Minpack was written by Jorge J. More, Burton S. Garbow and Kenneth E. Hillstrom. |