diff options
author | Alberto Ruiz <aruiz@um.es> | 2012-03-13 11:21:21 +0100 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2012-03-13 11:21:21 +0100 |
commit | 9c4a8a37291f902312215452d0bdd9ad95408ae9 (patch) | |
tree | 72d468cfa9999dc079466f250883dfb131d016ba /packages/glpk/lib/Numeric/LinearProgramming.hs | |
parent | 6f6455593c0490e4710854b08fc63a2d0993dcac (diff) | |
parent | 032fe19ddfa6e4cfba33f76aaa13043b54568fcf (diff) |
Merge remote-tracking branch 'wowus/master' into unsafe
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 |