1
0
This commit is contained in:
Daniel Tartavel 2022-09-24 00:25:19 +02:00
parent 434544678b
commit 39b2248389

View File

@ -3,7 +3,7 @@
class schulze
{
public int $nvotant;
public int $ncandidats;
public int $ncandidats = 5;
public array $nvotes;
public array $v = array(
@ -77,6 +77,7 @@ class schulze
function result($v)
{
$ncandidats = $this->ncandidats;
for ($i=1;$i<=$ncandidats;$i++)
{
for ($j=1;$j<=$ncandidats;$j++)