{"comment":{"url":"https://api.github.com/repos/VoyagerOne/Stockfish/comments/12843390","html_url":"https://github.com/VoyagerOne/Stockfish/commit/d32c36b5848448a9f2de23bb7826e4b73fe4e7d7#commitcomment-12843390","id":12843390,"user":{"login":"locutus2","id":953505,"avatar_url":"https://avatars.githubusercontent.com/u/953505?v=3","gravatar_id":"","url":"https://api.github.com/users/locutus2","html_url":"https://github.com/locutus2","followers_url":"https://api.github.com/users/locutus2/followers","following_url":"https://api.github.com/users/locutus2/following{/other_user}","gists_url":"https://api.github.com/users/locutus2/gists{/gist_id}","starred_url":"https://api.github.com/users/locutus2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/locutus2/subscriptions","organizations_url":"https://api.github.com/users/locutus2/orgs","repos_url":"https://api.github.com/users/locutus2/repos","events_url":"https://api.github.com/users/locutus2/events{/privacy}","received_events_url":"https://api.github.com/users/locutus2/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"d32c36b5848448a9f2de23bb7826e4b73fe4e7d7","created_at":"2015-08-22T17:05:48Z","updated_at":"2015-08-22T17:05:48Z","body":"in the aging formula first 2/3 is evaluated to zero (integer division) which then clears by multiplication the history values. I don't think that is what you intended.\r\nUse instead *p -= *p / 3 or *p = *p * 2 / 3"}}