moserware/Skills — Issue #8: FromPrecisionMean(0, 0) causes a divide by 0 exception
Author: nadrees
Created: 2011-10-16 19:10:27+00:00
State: open

When translating the library I noticed that line 21 of the TrueSkillFactorGraph class calls FromPrecisionMean(0, 0) which causes a divide by 0 exception when calculating the variance.

My current work around in the Python version is to set the variance to 1 if it is 0 but I don't think this is mathematically correct.