summaryrefslogtreecommitdiff
path: root/math/py-CyLP/files/patch-cython
diff options
context:
space:
mode:
Diffstat (limited to 'math/py-CyLP/files/patch-cython')
-rw-r--r--math/py-CyLP/files/patch-cython10
1 files changed, 10 insertions, 0 deletions
diff --git a/math/py-CyLP/files/patch-cython b/math/py-CyLP/files/patch-cython
new file mode 100644
index 000000000000..790d2e24b939
--- /dev/null
+++ b/math/py-CyLP/files/patch-cython
@@ -0,0 +1,10 @@
+--- cylp/cy/CyClpSimplex.pyx.orig 2024-08-20 08:36:08 UTC
++++ cylp/cy/CyClpSimplex.pyx
+@@ -20,6 +20,7 @@ from cylp.cy cimport CyCoinMpsIO
+ from cylp.py.pivots.DualPivotPythonBase import DualPivotPythonBase
+ from cylp.py.modeling.CyLPModel import CyLPModel
+ from cylp.cy cimport CyCoinMpsIO
++from ctypes import c_long as long
+
+ # Initialize numpy
+ np.import_array()