Skip to content

Commit c062c45

Browse files
authored
Update graphobject.c
1 parent 0a38ea8 commit c062c45

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
@@ -4832,7 +4832,7 @@ PyObject *igraphmodule_Graph_closeness(igraphmodule_GraphObject * self,
48324832
return NULL;
48334833
}
48344834
if (igraph_closeness_cutoff(&self->g, &res, NULL, NULL, vs, mode, weights,
4835-
PyFloat_AsDouble(cutoff_num), PyObject_IsTrue(normalized_o))) {
4835+
PyObject_IsTrue(normalized_o), PyFloat_AsDouble(cutoff_num))) {
48364836
igraph_vs_destroy(&vs);
48374837
igraph_vector_destroy(&res);
48384838
if (weights) { igraph_vector_destroy(weights); free(weights); }

0 commit comments

Comments
 (0)