summaryrefslogtreecommitdiff
path: root/packages/glpk
diff options
context:
space:
mode:
authorClark Gaebel <cgaebel@csclub.uwaterloo.ca>2012-03-10 18:26:56 -0500
committerClark Gaebel <cgaebel@csclub.uwaterloo.ca>2012-03-10 18:26:56 -0500
commitf8b7b3734fa6bb8d63914719e09d17940add27d4 (patch)
tree233c1c41ea8d5a0cf43bf9430cc2b60cff38a3e9 /packages/glpk
parent13fe05779923baad386b0059ff6fbc7c6af405d9 (diff)
Removed foreign import safety.
Diffstat (limited to 'packages/glpk')
-rw-r--r--packages/glpk/lib/Numeric/LinearProgramming.hs2
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
217foreign import ccall "c_simplex_sparse" c_simplex_sparse 217foreign 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