mirror of
https://github.com/furyfire/trueskill.git
synced 2025-04-18 20:04:28 +00:00
Upgrade with rector
This commit is contained in:
@ -14,7 +14,7 @@ class DiagonalMatrix extends Matrix
|
||||
|
||||
for ($currentRow = 0; $currentRow < $rowCount; $currentRow++) {
|
||||
for ($currentCol = 0; $currentCol < $colCount; $currentCol++) {
|
||||
if ($currentRow == $currentCol) {
|
||||
if ($currentRow === $currentCol) {
|
||||
$this->setValue($currentRow, $currentCol, $diagonalValues[$currentRow]);
|
||||
} else {
|
||||
$this->setValue($currentRow, $currentCol, 0);
|
||||
|
Reference in New Issue
Block a user