Skip to content

Commit 1473dd3

Browse files
committed
Fix two typos
1 parent e67d9c4 commit 1473dd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/_igraph/graphobject.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7828,7 +7828,7 @@ PyObject *igraphmodule_Graph_simple_cycles(
78287828
igraph_integer_t max_cycle_length = -1;
78297829
igraph_bool_t use_edges = false;
78307830

7831-
static char *kwlist[] = { "mode", "min_cycle_length", "max_cycle_length", "output" NULL };
7831+
static char *kwlist[] = { "mode", "min_cycle_length", "max_cycle_length", "output", NULL };
78327832

78337833
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|OOOO", kwlist, &mode_o, &min_cycle_length_o, &max_cycle_length_o, &output_o))
78347834
return NULL;
@@ -7864,7 +7864,7 @@ PyObject *igraphmodule_Graph_simple_cycles(
78647864
if (use_edges) {
78657865
result_o = igraphmodule_vector_int_list_t_to_PyList_of_tuples(&edges);
78667866
} else {
7867-
result_vertices_o = igraphmodule_vector_int_list_t_to_PyList_of_tuples(&vertices);
7867+
result_o = igraphmodule_vector_int_list_t_to_PyList_of_tuples(&vertices);
78687868
}
78697869
igraph_vector_int_list_destroy(&edges);
78707870
igraph_vector_int_list_destroy(&vertices);

0 commit comments

Comments
 (0)