diff options
Diffstat (limited to 'packages')
-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 |