mirror of
https://github.com/furyfire/trueskill.git
synced 2025-04-01 05:34:00 +00:00
Cleaned up some of the run schedule parts
This commit is contained in:
@ -25,7 +25,7 @@ abstract class GaussianFactor extends Factor
|
||||
$marginal = &$variable->getValue();
|
||||
$messageValue = &$message->getValue();
|
||||
$logZ = GaussianDistribution::logProductNormalization($marginal, $messageValue);
|
||||
$variable->setValue($marginal*$messageValue);
|
||||
$variable->setValue(GaussianDistribution::multiply($marginal, $messageValue));
|
||||
return $logZ;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user