diff options
author | Clark Gaebel <cgaebel@csclub.uwaterloo.ca> | 2012-03-10 18:26:56 -0500 |
---|---|---|
committer | Clark Gaebel <cgaebel@csclub.uwaterloo.ca> | 2012-03-10 18:26:56 -0500 |
commit | f8b7b3734fa6bb8d63914719e09d17940add27d4 (patch) | |
tree | 233c1c41ea8d5a0cf43bf9430cc2b60cff38a3e9 /packages/special/lib/Numeric/GSL/Special/Dawson.hs | |
parent | 13fe05779923baad386b0059ff6fbc7c6af405d9 (diff) |
Removed foreign import safety.
Diffstat (limited to 'packages/special/lib/Numeric/GSL/Special/Dawson.hs')
-rw-r--r-- | packages/special/lib/Numeric/GSL/Special/Dawson.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/special/lib/Numeric/GSL/Special/Dawson.hs b/packages/special/lib/Numeric/GSL/Special/Dawson.hs index 9f73767..64b6ced 100644 --- a/packages/special/lib/Numeric/GSL/Special/Dawson.hs +++ b/packages/special/lib/Numeric/GSL/Special/Dawson.hs | |||
@@ -23,8 +23,8 @@ import Numeric.GSL.Special.Internal | |||
23 | 23 | ||
24 | dawson_e :: Double -> (Double,Double) | 24 | dawson_e :: Double -> (Double,Double) |
25 | dawson_e x = createSFR "dawson_e" $ gsl_sf_dawson_e x | 25 | dawson_e x = createSFR "dawson_e" $ gsl_sf_dawson_e x |
26 | foreign import ccall SAFE_CHEAP "gsl_sf_dawson_e" gsl_sf_dawson_e :: Double -> Ptr () -> IO CInt | 26 | foreign import ccall unsafe "gsl_sf_dawson_e" gsl_sf_dawson_e :: Double -> Ptr () -> IO CInt |
27 | 27 | ||
28 | dawson :: Double -> Double | 28 | dawson :: Double -> Double |
29 | dawson = gsl_sf_dawson | 29 | dawson = gsl_sf_dawson |
30 | foreign import ccall SAFE_CHEAP "gsl_sf_dawson" gsl_sf_dawson :: Double -> Double | 30 | foreign import ccall unsafe "gsl_sf_dawson" gsl_sf_dawson :: Double -> Double |