Skip to content

Commit b6ebd8e

Browse files
committed
fix: set up appropriate default for the vertex coloring heuristics
1 parent 580cf5d commit b6ebd8e

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
@@ -11646,7 +11646,7 @@ PyObject *igraphmodule_Graph_vertex_coloring_greedy(
1164611646
) {
1164711647
static char *kwlist[] = { "method", NULL };
1164811648
igraph_vector_int_t result;
11649-
igraph_coloring_greedy_t heuristics;
11649+
igraph_coloring_greedy_t heuristics = IGRAPH_COLORING_GREEDY_COLORED_NEIGHBORS;
1165011650
PyObject *heuristics_o = Py_None;
1165111651
PyObject *result_o;
1165211652

0 commit comments

Comments
 (0)