From 1473dd3dc8c56357d9022552d93ff0a1ddaf79e4 Mon Sep 17 00:00:00 2001 From: Tim Bernhard Date: Wed, 13 Nov 2024 21:20:55 +0100 Subject: [PATCH] Fix two typos --- src/_igraph/graphobject.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/_igraph/graphobject.c b/src/_igraph/graphobject.c index 7a3022fc7..ee27de0a6 100644 --- a/src/_igraph/graphobject.c +++ b/src/_igraph/graphobject.c @@ -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; @@ -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);