Skip to content

Commit

Permalink
cylp/cy/CyCbcModel.pxd: Update exception specs for Cython 3
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Oct 12, 2023
1 parent 2306dfb commit 3bbeb73
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cylp/cy/CyCbcModel.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ cdef extern from "CbcCompareUser.hpp":
cdef cppclass CppCbcCompareUser "CbcCompareUser":
pass
ctypedef int (*runTest_t)(void* instance, CppICbcNode* x,
CppICbcNode* y)
CppICbcNode* y) except? -1
ctypedef bint (*runNewSolution_t)(void*instance, CppICbcModel* model,
double objectiveAtContinuous,
int numberInfeasibilitiesAtContinuous)
int numberInfeasibilitiesAtContinuous) except? -1
ctypedef int (*runEvery1000Nodes_t)(void* instance,
CppICbcModel* model, int numberNodes)
CppICbcModel* model, int numberNodes) except? -1
bint equalityTest(CppICbcNode* x, CppICbcNode* y)


Expand Down

0 comments on commit 3bbeb73

Please sign in to comment.