diff options
author | Alberto Ruiz <aruiz@um.es> | 2012-03-13 15:23:30 +0100 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2012-03-13 15:23:30 +0100 |
commit | b959655b75da207fd7ac1c785a6ea9924d70d5a6 (patch) | |
tree | 0031778af5633100993d8447a5cbe021b1d3066f /packages/glpk/lib/Numeric/LinearProgramming.hs | |
parent | c5fcca336f7d1ad6235d411268d8ff946bbe7f0c (diff) | |
parent | 0904bbd0befa48e98858def1b6d036c5b2f00bf1 (diff) |
Merge branch 'unsafe' into develop
Diffstat (limited to 'packages/glpk/lib/Numeric/LinearProgramming.hs')
-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 |