Skip to content

Commit bddaefb

Browse files
committed
chore: update C core
1 parent 104c080 commit bddaefb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/_igraph/graphobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ PyObject *igraphmodule_Graph_is_maximal_matching(igraphmodule_GraphObject* self,
534534
PyObject *igraphmodule_Graph_is_simple(igraphmodule_GraphObject* self, PyObject* Py_UNUSED(_null)) {
535535
igraph_bool_t res;
536536

537-
if (igraph_is_simple(&self->g, &res)) {
537+
if (igraph_is_simple(&self->g, &res, IGRAPH_DIRECTED)) {
538538
igraphmodule_handle_igraph_error();
539539
return NULL;
540540
}

tests/test_decomposition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ def testFluidCommunities(self):
335335
def testInfomap(self):
336336
g = Graph.Famous("zachary")
337337
cl = g.community_infomap()
338-
self.assertAlmostEqual(cl.codelength, 4.60605, places=3)
338+
self.assertAlmostEqual(cl.codelength, 4.31179, places=3)
339339
self.assertAlmostEqual(cl.q, 0.40203, places=3)
340340
self.assertMembershipsEqual(
341341
cl,

vendor/source/igraph

Submodule igraph updated 171 files

0 commit comments

Comments
 (0)