mirror of
https://github.com/furyfire/trueskill.git
synced 2025-04-01 21:34:20 +00:00
Another pass at fixing up references
This commit is contained in:
PHPSkills
Elo
FactorGraphs
Factor.phpFactorGraph.phpFactorGraphLayer.phpFactorList.phpMessage.phpSchedule.phpVariable.phpVariableFactory.php
HashMap.phpNumerics
Player.phpRatingContainer.phpTeam.phpTeams.phpTrueSkill
Factors
Layers
IteratedTeamDifferencesInnerLayer.phpPlayerPerformancesToTeamPerformancesLayer.phpPlayerPriorValuesToSkillsLayer.phpPlayerSkillsToPerformancesLayer.phpTeamDifferencesComparisonLayer.phpTeamPerformancesToTeamPerformanceDifferencesLayer.php
TrueSkillFactorGraph.phpTwoPlayerTrueSkillCalculator.phpTwoTeamTrueSkillCalculator.php@ -6,7 +6,7 @@ class Message
|
||||
private $_name;
|
||||
private $_value;
|
||||
|
||||
public function __construct($value = null, $name = null)
|
||||
public function __construct(&$value = null, $name = null)
|
||||
{
|
||||
$this->_name = $name;
|
||||
$this->_value = $value;
|
||||
@ -14,7 +14,8 @@ class Message
|
||||
|
||||
public function& getValue()
|
||||
{
|
||||
return $this->_value;
|
||||
$value = &$this->_value;
|
||||
return $value;
|
||||
}
|
||||
|
||||
public function setValue(&$value)
|
||||
|
Reference in New Issue
Block a user