Skip to content

Commit 6b039db

Browse files
authored
Update graphobject.c - reverse cutoff, normalized args (#812)
1 parent 8d2e9bc commit 6b039db

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
@@ -4912,7 +4912,7 @@ PyObject *igraphmodule_Graph_harmonic_centrality(igraphmodule_GraphObject * self
49124912
return NULL;
49134913
}
49144914
if (igraph_harmonic_centrality_cutoff(&self->g, &res, vs, mode, weights,
4915-
PyFloat_AsDouble(cutoff_num), PyObject_IsTrue(normalized_o))) {
4915+
PyObject_IsTrue(normalized_o), PyFloat_AsDouble(cutoff_num))) {
49164916
igraph_vs_destroy(&vs);
49174917
igraph_vector_destroy(&res);
49184918
if (weights) { igraph_vector_destroy(weights); free(weights); }

0 commit comments

Comments
 (0)