{"action":"created","issue":{"url":"https://api.github.com/repos/deepmind/torch-distributions/issues/34","labels_url":"https://api.github.com/repos/deepmind/torch-distributions/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/deepmind/torch-distributions/issues/34/comments","events_url":"https://api.github.com/repos/deepmind/torch-distributions/issues/34/events","html_url":"https://github.com/deepmind/torch-distributions/pull/34","id":57184075,"number":34,"title":"Fixed KL bug and changed KL calling convention","user":{"login":"dpfau","id":143368,"avatar_url":"https://avatars.githubusercontent.com/u/143368?v=3","gravatar_id":"","url":"https://api.github.com/users/dpfau","html_url":"https://github.com/dpfau","followers_url":"https://api.github.com/users/dpfau/followers","following_url":"https://api.github.com/users/dpfau/following{/other_user}","gists_url":"https://api.github.com/users/dpfau/gists{/gist_id}","starred_url":"https://api.github.com/users/dpfau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpfau/subscriptions","organizations_url":"https://api.github.com/users/dpfau/orgs","repos_url":"https://api.github.com/users/dpfau/repos","events_url":"https://api.github.com/users/dpfau/events{/privacy}","received_events_url":"https://api.github.com/users/dpfau/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-10T14:50:32Z","updated_at":"2015-02-10T14:51:11Z","closed_at":"2015-02-10T14:51:10Z","pull_request":{"url":"https://api.github.com/repos/deepmind/torch-distributions/pulls/34","html_url":"https://github.com/deepmind/torch-distributions/pull/34","diff_url":"https://github.com/deepmind/torch-distributions/pull/34.diff","patch_url":"https://github.com/deepmind/torch-distributions/pull/34.patch"},"body":"Fixed issue #33 (missing divide by 2 in one term) and changed calling convention for all KL divergences so that:\r\n1) The arguments are always a pair of tables containing named parameters (this only affectes dir.kl, which previously took two vectors as arguments)\r\n2) The first argument is named q and the second is named p, to be consistent with the conventional notation."},"comment":{"url":"https://api.github.com/repos/deepmind/torch-distributions/issues/comments/73711243","html_url":"https://github.com/deepmind/torch-distributions/pull/34#issuecomment-73711243","issue_url":"https://api.github.com/repos/deepmind/torch-distributions/issues/34","id":73711243,"user":{"login":"jucor","id":660037,"avatar_url":"https://avatars.githubusercontent.com/u/660037?v=3","gravatar_id":"","url":"https://api.github.com/users/jucor","html_url":"https://github.com/jucor","followers_url":"https://api.github.com/users/jucor/followers","following_url":"https://api.github.com/users/jucor/following{/other_user}","gists_url":"https://api.github.com/users/jucor/gists{/gist_id}","starred_url":"https://api.github.com/users/jucor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jucor/subscriptions","organizations_url":"https://api.github.com/users/jucor/orgs","repos_url":"https://api.github.com/users/jucor/repos","events_url":"https://api.github.com/users/jucor/events{/privacy}","received_events_url":"https://api.github.com/users/jucor/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T14:51:11Z","updated_at":"2015-02-10T14:51:11Z","body":"Thanks for your vigilance David!"}}