Some reference updates and adding the needed array(...) scope to existing data for single team values

This commit is contained in:
Jeff Moser
2010-09-25 22:40:56 -04:00
parent 8e9e2d0d86
commit 04c911742d
8 changed files with 51 additions and 47 deletions

View File

@ -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;
}
}