1
0
This commit is contained in:
Daniel Tartavel 2022-09-23 22:17:10 +02:00
parent 2fd6610aea
commit 2aca514c53

View File

@ -67,13 +67,14 @@ class schulze
if ($s == $v[$i+1]) if ($s == $v[$i+1])
{ {
echo "egal\n"; echo "egal\n";
print_r($w);
$w[$s] += 1; $w[$s] += 1;
print_r($w);
}else }else
{ {
echo "non egal\n"; echo "non egal\n";
print_r($w);
$w[$v[$i+1]] = 1; $w[$v[$i+1]] = 1;
print_r($w);
} }
} }
$w = $this->votify($w); $w = $this->votify($w);