Fixed some debugging messages on factors

This commit is contained in:
Jeff Moser
2010-09-27 08:00:22 -04:00
parent 5cb1919c21
commit f816a766d7
6 changed files with 10 additions and 12 deletions

View File

@ -34,7 +34,7 @@ abstract class GaussianFactor extends Factor
return parent::createVariableToMessageBindingWithMessage($variable,
new Message(
GaussianDistribution::fromPrecisionMean(0, 0),
"message from {0} to {1}", $this));
sprintf("message from %s to %s", $this, $variable)));
}
}