From 96cadd8ace4f9387a382454012552bdb4b4064c9 Mon Sep 17 00:00:00 2001 From: Max Fan Date: Mon, 23 May 2022 12:15:59 -0400 Subject: [PATCH] Update retworkx call to use renamed function --- gerrychain/tree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gerrychain/tree.py b/gerrychain/tree.py index 191df355..439d258b 100644 --- a/gerrychain/tree.py +++ b/gerrychain/tree.py @@ -183,7 +183,7 @@ def bipartition_tree_retworkx( ): pops = graph.pygraph_pop_lookup(pop_col) - balanced_node_choices = retworkx.bipartition_tree( + balanced_node_choices = retworkx.bipartition_graph( graph.pygraph, lambda x: random.random(), pops,