mirror of
https://github.com/furyfire/trueskill.git
synced 2025-03-29 04:13:22 +00:00
Checkpoint before another reference pass
This commit is contained in:
@ -49,8 +49,8 @@ abstract class Factor
|
||||
public function updateMessageIndex($messageIndex)
|
||||
{
|
||||
Guard::argumentIsValidIndex($messageIndex, count($this->_messages), "messageIndex");
|
||||
$message = $this->_messages[$messageIndex];
|
||||
$variable = $this->_messageToVariableBinding->getValue($this->_messages[$messageIndex]);
|
||||
$message = &$this->_messages[$messageIndex];
|
||||
$variable = &$this->_messageToVariableBinding->getValue($this->_messages[$messageIndex]);
|
||||
return $this->updateMessageVariable($message, $variable);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user