https://github.com/taynaud/python-louvain/commit/638804ae636dc65306900ef6518ca0a1c9202566.diff diff --git a/test_community.py b/test_community.py index 1ee1976..566a4b1 100644 --- a/test_community.py +++ b/test_community.py @@ -203,7 +203,7 @@ def test_karate(self): self.assertAlmostEqual(co.modularity(part, graph), co.modularity(part_weight, graph, - "test_weight"), places=2) + "test_weight"), places=1) part_res_low = co.best_partition(graph, resolution=0.1) self.assertTrue( 2b70ddc48a1'/> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/nix/nix-daemon/guix-daemon.cc
AgeCommit message (Expand)Author
2022-04-14daemon: Support systemd-style socket activation....* nix/nix-daemon/guix-daemon.cc (SD_LISTEN_FDS_START): New macro. (systemd_activation_sockets): New function. (main): Use it. Remove obsolete 'printMsg' call. * doc/guix.texi (Invoking guix-daemon): Document socket activation. Ludovic Courtès
2021-03-17daemon: Correctly handle '--discover' with no value....Previously, we'd get: $ guix-daemon --discover error: basic_string::_M_construct null not valid * nix/nix-daemon/guix-daemon.cc (parse_opt): Change second argument to 'settings.set' to properly handle case where ARG is NULL. Ludovic Courtès