Skip to content

Commit 972817f

Browse files
authored
Add missing GIL (#539)
1 parent f65d855 commit 972817f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pyscipopt/nodesel.pxi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ cdef SCIP_RETCODE PyNodeselSelect (SCIP* scip, SCIP_NODESEL* nodesel, SCIP_NODE*
9191
selnode[0] = selected_node.scip_node
9292
return SCIP_OKAY
9393

94-
cdef int PyNodeselComp (SCIP* scip, SCIP_NODESEL* nodesel, SCIP_NODE* node1, SCIP_NODE* node2):
94+
cdef int PyNodeselComp (SCIP* scip, SCIP_NODESEL* nodesel, SCIP_NODE* node1, SCIP_NODE* node2) with gil:
9595
cdef SCIP_NODESELDATA* nodeseldata
9696
nodeseldata = SCIPnodeselGetData(nodesel)
9797
PyNodesel = <Nodesel>nodeseldata

0 commit comments

Comments
 (0)