From bbf07a5b76cf196007adcfe2bfc954440843ce2f Mon Sep 17 00:00:00 2001 From: Alberto Ruiz Date: Sat, 20 Feb 2010 13:14:04 +0000 Subject: safe-cheap flag --- lib/Numeric/GSL/Special/Pow_int.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Numeric/GSL/Special/Pow_int.hs') diff --git a/lib/Numeric/GSL/Special/Pow_int.hs b/lib/Numeric/GSL/Special/Pow_int.hs index d98bd57..fd232ab 100644 --- a/lib/Numeric/GSL/Special/Pow_int.hs +++ b/lib/Numeric/GSL/Special/Pow_int.hs @@ -23,8 +23,8 @@ import Numeric.GSL.Special.Internal pow_int_e :: Double -> CInt -> (Double,Double) pow_int_e x n = createSFR "pow_int_e" $ gsl_sf_pow_int_e x n -foreign import ccall "gsl_sf_pow_int_e" gsl_sf_pow_int_e :: Double -> CInt -> Ptr () -> IO CInt +foreign import ccall SAFE_CHEAP "gsl_sf_pow_int_e" gsl_sf_pow_int_e :: Double -> CInt -> Ptr () -> IO CInt pow_int :: Double -> CInt -> Double pow_int = gsl_sf_pow_int -foreign import ccall "gsl_sf_pow_int" gsl_sf_pow_int :: Double -> CInt -> Double +foreign import ccall SAFE_CHEAP "gsl_sf_pow_int" gsl_sf_pow_int :: Double -> CInt -> Double -- cgit v1.2.3