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/glpk | |
parent | 13fe05779923baad386b0059ff6fbc7c6af405d9 (diff) |
Removed foreign import safety.
Diffstat (limited to 'packages/glpk')
-rw-r--r-- | packages/glpk/lib/Numeric/LinearProgramming.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/glpk/lib/Numeric/LinearProgramming.hs b/packages/glpk/lib/Numeric/LinearProgramming.hs index b832bac..6a3e186 100644 --- a/packages/glpk/lib/Numeric/LinearProgramming.hs +++ b/packages/glpk/lib/Numeric/LinearProgramming.hs | |||
@@ -214,7 +214,7 @@ mkConstrS n objfun b1 = fromLists (ob ++ co) where | |||
214 | 214 | ||
215 | ----------------------------------------------------- | 215 | ----------------------------------------------------- |
216 | 216 | ||
217 | foreign import ccall "c_simplex_sparse" c_simplex_sparse | 217 | foreign import ccall unsafe "c_simplex_sparse" c_simplex_sparse |
218 | :: CInt -> CInt -- rows and cols | 218 | :: CInt -> CInt -- rows and cols |
219 | -> CInt -> CInt -> Ptr Double -- coeffs | 219 | -> CInt -> CInt -> Ptr Double -- coeffs |
220 | -> CInt -> CInt -> Ptr Double -- bounds | 220 | -> CInt -> CInt -> Ptr Double -- bounds |