diff options
author | Alberto Ruiz <aruiz@um.es> | 2012-03-13 14:51:12 +0100 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2012-03-13 14:51:12 +0100 |
commit | 072055e1658fa6fd64a4462b6a243ec0f5e5cdb4 (patch) | |
tree | 09e3a46185a1ee231cdddab6955437a2b0ead601 /packages/special/lib/Numeric/GSL/Special/Clausen.hs | |
parent | 9c4a8a37291f902312215452d0bdd9ad95408ae9 (diff) |
revert to SAFE_CHEAP macro, unsafe by default
Diffstat (limited to 'packages/special/lib/Numeric/GSL/Special/Clausen.hs')
-rw-r--r-- | packages/special/lib/Numeric/GSL/Special/Clausen.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/special/lib/Numeric/GSL/Special/Clausen.hs b/packages/special/lib/Numeric/GSL/Special/Clausen.hs index de7d605..80bd45c 100644 --- a/packages/special/lib/Numeric/GSL/Special/Clausen.hs +++ b/packages/special/lib/Numeric/GSL/Special/Clausen.hs | |||
@@ -23,8 +23,8 @@ import Numeric.GSL.Special.Internal | |||
23 | 23 | ||
24 | clausen_e :: Double -> (Double,Double) | 24 | clausen_e :: Double -> (Double,Double) |
25 | clausen_e x = createSFR "clausen_e" $ gsl_sf_clausen_e x | 25 | clausen_e x = createSFR "clausen_e" $ gsl_sf_clausen_e x |
26 | foreign import ccall unsafe "gsl_sf_clausen_e" gsl_sf_clausen_e :: Double -> Ptr () -> IO CInt | 26 | foreign import ccall SAFE_CHEAP "gsl_sf_clausen_e" gsl_sf_clausen_e :: Double -> Ptr () -> IO CInt |
27 | 27 | ||
28 | clausen :: Double -> Double | 28 | clausen :: Double -> Double |
29 | clausen = gsl_sf_clausen | 29 | clausen = gsl_sf_clausen |
30 | foreign import ccall unsafe "gsl_sf_clausen" gsl_sf_clausen :: Double -> Double | 30 | foreign import ccall SAFE_CHEAP "gsl_sf_clausen" gsl_sf_clausen :: Double -> Double |