summaryrefslogtreecommitdiff
path: root/lib/Numeric/GSL/ODE.hs
diff options
context:
space:
mode:
authorClark Gaebel <cgaebel@csclub.uwaterloo.ca>2012-03-10 22:47:13 -0500
committerClark Gaebel <cgaebel@csclub.uwaterloo.ca>2012-03-10 22:47:13 -0500
commit7832cb74240ba06a23a981c20db3c5da8324828a (patch)
treeb8afe01c34c75486eb3561377d574911422f63ee /lib/Numeric/GSL/ODE.hs
parentf8b7b3734fa6bb8d63914719e09d17940add27d4 (diff)
Added back some safety.
Diffstat (limited to 'lib/Numeric/GSL/ODE.hs')
-rw-r--r--lib/Numeric/GSL/ODE.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Numeric/GSL/ODE.hs b/lib/Numeric/GSL/ODE.hs
index 797ba3f..4d2beed 100644
--- a/lib/Numeric/GSL/ODE.hs
+++ b/lib/Numeric/GSL/ODE.hs
@@ -91,7 +91,7 @@ odeSolveV method h epsAbs epsRel f mbjac xiv ts = unsafePerformIO $ do
91 freeHaskellFunPtr fp 91 freeHaskellFunPtr fp
92 return sol 92 return sol
93 93
94foreign import ccall unsafe "ode" 94foreign import ccall safe "ode"
95 ode_c :: CInt -> Double -> Double -> Double -> FunPtr (Double -> TVV) -> FunPtr (Double -> TVM) -> TVVM 95 ode_c :: CInt -> Double -> Double -> Double -> FunPtr (Double -> TVV) -> FunPtr (Double -> TVM) -> TVVM
96 96
97------------------------------------------------------- 97-------------------------------------------------------