mirror of
https://github.com/furyfire/trueskill.git
synced 2025-03-20 16:48:04 +00:00
Some reference updates and adding the needed array(...) scope to existing data for single team values
This commit is contained in:
@ -107,10 +107,10 @@ class TrueSkillFactorGraph extends FactorGraph
|
||||
|
||||
foreach ($this->_layers as $currentLayer)
|
||||
{
|
||||
$currentPriorSchedule = $currentLayer->createPriorSchedule();
|
||||
$currentPriorSchedule = &$currentLayer->createPriorSchedule();
|
||||
if ($currentPriorSchedule != null)
|
||||
{
|
||||
$fullSchedule[] = $currentPriorSchedule;
|
||||
$fullSchedule[] = &$currentPriorSchedule;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user