From 2aca514c53d0c419a385cc66a7b16da416873e0e Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Fri, 23 Sep 2022 22:17:10 +0200 Subject: [PATCH] test --- methods/schulzeResults.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/methods/schulzeResults.php b/methods/schulzeResults.php index 22b8f6a..69e7f1a 100644 --- a/methods/schulzeResults.php +++ b/methods/schulzeResults.php @@ -67,13 +67,14 @@ class schulze if ($s == $v[$i+1]) { echo "egal\n"; - print_r($w); $w[$s] += 1; + print_r($w); + }else { echo "non egal\n"; - print_r($w); $w[$v[$i+1]] = 1; + print_r($w); } } $w = $this->votify($w);