From b6ebd8eb277fc1d0e33340a6624629a10c638992 Mon Sep 17 00:00:00 2001 From: Tamas Nepusz Date: Fri, 27 Jan 2023 17:38:05 +0100 Subject: [PATCH] fix: set up appropriate default for the vertex coloring heuristics --- src/_igraph/graphobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_igraph/graphobject.c b/src/_igraph/graphobject.c index f35d3db96..7ba3e693f 100644 --- a/src/_igraph/graphobject.c +++ b/src/_igraph/graphobject.c @@ -11646,7 +11646,7 @@ PyObject *igraphmodule_Graph_vertex_coloring_greedy( ) { static char *kwlist[] = { "method", NULL }; igraph_vector_int_t result; - igraph_coloring_greedy_t heuristics; + igraph_coloring_greedy_t heuristics = IGRAPH_COLORING_GREEDY_COLORED_NEIGHBORS; PyObject *heuristics_o = Py_None; PyObject *result_o;