Skip to content

Commit

Permalink
Doubles test will use a new ladder
Browse files Browse the repository at this point in the history
  • Loading branch information
TheImmortal committed May 6, 2014
1 parent 024706b commit 29f405f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/client-chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@
buffer += '<td>'+Math.round(40.0*parseFloat(row.gxe)*Math.pow(2.0,-43.0/N),0)+'</td>';
} else if (row.formatid === 'oususpecttest') {
buffer += '<td>'+Math.round(40.0*parseFloat(row.gxe)*Math.pow(2.0,-17.0/N),0)+'</td>';
} else if (row.formatid === 'smogondoubles' || row.formatid === 'smogondoublessuspecttest') {
} else if (row.formatid === 'smogondoublescurrent' || row.formatid === 'smogondoublessuspecttest') {
buffer += '<td>'+Math.round(40.0*parseFloat(row.gxe)*Math.pow(2.0,-15.0/N),0)+'</td>';
} else {
buffer += '<td>--</td>';
Expand Down
2 changes: 1 addition & 1 deletion ladder.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<td>
<?php if ($row['formatid'] == 'lcsuspecttest') echo number_format($N ? 40*$row['gxe']*pow(2.0,-43.0/$N) : 0,1,'.','');
elseif ($row['formatid'] == 'oususpecttest') echo number_format($N ? 40*$row['gxe']*pow(2.0,-17.0/$N) : 0,1,'.','');
elseif ($row['formatid'] == 'smogondoubles' || $row['formatid'] == 'smogondoublessuspecttest') echo number_format($N ? 40*$row['gxe']*pow(2.0,-15.0/$N) : 0,1,'.','');
elseif ($row['formatid'] == 'smogondoublescurrent' || $row['formatid'] == 'smogondoublessuspecttest') echo number_format($N ? 40*$row['gxe']*pow(2.0,-15.0/$N) : 0,1,'.','');
else echo '--'; ?></td>
</tr>
<?php
Expand Down

0 comments on commit 29f405f

Please sign in to comment.