test
This commit is contained in:
parent
434544678b
commit
39b2248389
@ -3,7 +3,7 @@
|
|||||||
class schulze
|
class schulze
|
||||||
{
|
{
|
||||||
public int $nvotant;
|
public int $nvotant;
|
||||||
public int $ncandidats;
|
public int $ncandidats = 5;
|
||||||
public array $nvotes;
|
public array $nvotes;
|
||||||
|
|
||||||
public array $v = array(
|
public array $v = array(
|
||||||
@ -77,6 +77,7 @@ class schulze
|
|||||||
|
|
||||||
function result($v)
|
function result($v)
|
||||||
{
|
{
|
||||||
|
$ncandidats = $this->ncandidats;
|
||||||
for ($i=1;$i<=$ncandidats;$i++)
|
for ($i=1;$i<=$ncandidats;$i++)
|
||||||
{
|
{
|
||||||
for ($j=1;$j<=$ncandidats;$j++)
|
for ($j=1;$j<=$ncandidats;$j++)
|
||||||
|
Reference in New Issue
Block a user