Skip to content

Commit

Permalink
fix: set up appropriate default for the vertex coloring heuristics
Browse files Browse the repository at this point in the history
  • Loading branch information
ntamas committed Jan 27, 2023
1 parent 580cf5d commit b6ebd8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_igraph/graphobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit b6ebd8e

Please sign in to comment.