RobKohr/glicko — pull request #4 by Filimindji (2012-09-23 11:57:37+00:00)
Title: There was an error in the if condition in glicko.js line 138 (step 5.2) :

There was an error in the if condition in glicko.js line 138 (step 5.2) :

if( pow(delta,2) > (pow(p.vol,2) + v) ){
var B = ln(pow(delta,2) - pow(p.rd2,2), v);
}...

p.vol should be replaced by p.rd2

if( pow(delta,2) > (pow(p.rd2,2) + v) ){
var B = ln(pow(delta,2) - pow(p.rd2,2), v);
}...
according to http://www.glicko.net/glicko/glicko2.pdf , Step 5.2