Skip to content

Commit d4c8fe0

Browse files
authored
fix: make sure that degrees2 is not optional in Graph.Realize_Bipartite_Degree_Sequence
1 parent a607205 commit d4c8fe0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_igraph/graphobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2992,7 +2992,7 @@ PyObject *igraphmodule_Graph_Realize_Bipartite_Degree_Sequence(PyTypeObject *typ
29922992
igraph_t g;
29932993

29942994
static char *kwlist[] = { "degrees1", "degrees2", "allowed_edge_types", "method", NULL };
2995-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|OOO", kwlist,
2995+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "OO|OO", kwlist,
29962996
&degrees1_o, &degrees2_o, &edge_types_o, &method_o))
29972997
return NULL;
29982998

0 commit comments

Comments
 (0)