This is an automated email from the ASF dual-hosted git repository.

gstein pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/steve.git

commit 153e8b1f6ac7e54985e9edfa098b73866d1d8a53
Author: Greg Stein <[email protected]>
AuthorDate: Thu Jun 2 01:52:37 2022 -0500

    actually use the new method
---
 monitoring/stv_tool.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/monitoring/stv_tool.py b/monitoring/stv_tool.py
index 6e644cb..9a8e6ac 100755
--- a/monitoring/stv_tool.py
+++ b/monitoring/stv_tool.py
@@ -285,7 +285,7 @@ def iterate_one(quota, votes, candidates, num_seats):
 
 
 def recalc(votes, candidates, num_seats):
-  excess = calc_totals(votes, candidates)
+  excess = candidates.apply_votes(votes)
   a1 = [c.ahead for c in candidates.l]
   candidates.calc_aheads()
   a2 = [c.ahead for c in candidates.l]

Reply via email to