diff --git a/src/_igraph/graphobject.c b/src/_igraph/graphobject.c index 95a29e5ff..894e35d26 100644 --- a/src/_igraph/graphobject.c +++ b/src/_igraph/graphobject.c @@ -4912,7 +4912,7 @@ PyObject *igraphmodule_Graph_harmonic_centrality(igraphmodule_GraphObject * self return NULL; } if (igraph_harmonic_centrality_cutoff(&self->g, &res, vs, mode, weights, - PyFloat_AsDouble(cutoff_num), PyObject_IsTrue(normalized_o))) { + PyObject_IsTrue(normalized_o), PyFloat_AsDouble(cutoff_num))) { igraph_vs_destroy(&vs); igraph_vector_destroy(&res); if (weights) { igraph_vector_destroy(weights); free(weights); }