Skip to content

Commit

Permalink
Fix two typos
Browse files Browse the repository at this point in the history
  • Loading branch information
GenieTim committed Nov 13, 2024
1 parent e67d9c4 commit 1473dd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/_igraph/graphobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -7828,7 +7828,7 @@ PyObject *igraphmodule_Graph_simple_cycles(
igraph_integer_t max_cycle_length = -1;
igraph_bool_t use_edges = false;

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

if (!PyArg_ParseTupleAndKeywords(args, kwds, "|OOOO", kwlist, &mode_o, &min_cycle_length_o, &max_cycle_length_o, &output_o))
return NULL;
Expand Down Expand Up @@ -7864,7 +7864,7 @@ PyObject *igraphmodule_Graph_simple_cycles(
if (use_edges) {
result_o = igraphmodule_vector_int_list_t_to_PyList_of_tuples(&edges);
} else {
result_vertices_o = igraphmodule_vector_int_list_t_to_PyList_of_tuples(&vertices);
result_o = igraphmodule_vector_int_list_t_to_PyList_of_tuples(&vertices);
}
igraph_vector_int_list_destroy(&edges);
igraph_vector_int_list_destroy(&vertices);
Expand Down

0 comments on commit 1473dd3

Please sign in to comment.