{"action":"created","comment":{"url":"https://api.github.com/repos/GPflow/GPflow/pulls/comments/186287837","pull_request_review_id":117840631,"id":186287837,"diff_hunk":"@@ -80,15 +80,18 @@ def mvnquad(func, means, covs, H: int, Din: int=None, Dout=None):\n     return tf.reduce_sum(fX * wr, 0)\n \n \n-def ndiagquad(funcs, H: int, Fmu, Fvar, **Ys):\n+def ndiagquad(funcs, H: int, Fmu, Fvar, logspace: bool=False, **Ys):\n     \"\"\"\n     Computes N Gaussian expectation integrals of one or more functions\n     using Gauss-Hermite quadrature. The Gaussians must be independent.\n \n-    :param funcs: Callable or Iterable of Callables that operates elementwise\n+    :param funcs: the integrand(s):","path":"gpflow/quadrature.py","position":11,"original_position":11,"commit_id":"0064ff3a50f8f567e00ef138bf8d45ddaf1fa342","original_commit_id":"f20bdcb1c03ccfecf03f50436ed0e925760d22f4","user":{"login":"st--","id":5763727,"avatar_url":"https://avatars0.githubusercontent.com/u/5763727?v=4","gravatar_id":"","url":"https://api.github.com/users/st--","html_url":"https://github.com/st--","followers_url":"https://api.github.com/users/st--/followers","following_url":"https://api.github.com/users/st--/following{/other_user}","gists_url":"https://api.github.com/users/st--/gists{/gist_id}","starred_url":"https://api.github.com/users/st--/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/st--/subscriptions","organizations_url":"https://api.github.com/users/st--/orgs","repos_url":"https://api.github.com/users/st--/repos","events_url":"https://api.github.com/users/st--/events{/privacy}","received_events_url":"https://api.github.com/users/st--/received_events","type":"User","site_admin":false},"body":"I know - how would I write that it can be a function, or an iterable of functions, each of which takes some number of elements (not defined, but same as length of Fmu / Fvar)? Similar problem to your other comment...","created_at":"2018-05-06T11:52:18Z","updated_at":"2018-05-06T11:52:18Z","html_url":"https://github.com/GPflow/GPflow/pull/747#discussion_r186287837","pull_request_url":"https://api.github.com/repos/GPflow/GPflow/pulls/747","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/GPflow/GPflow/pulls/comments/186287837"},"html":{"href":"https://github.com/GPflow/GPflow/pull/747#discussion_r186287837"},"pull_request":{"href":"https://api.github.com/repos/GPflow/GPflow/pulls/747"}},"in_reply_to_id":186273727},"pull_request":{"url":"https://api.github.com/repos/GPflow/GPflow/pulls/747","id":186177968,"html_url":"https://github.com/GPflow/GPflow/pull/747","diff_url":"https://github.com/GPflow/GPflow/pull/747.diff","patch_url":"https://github.com/GPflow/GPflow/pull/747.patch","issue_url":"https://api.github.com/repos/GPflow/GPflow/issues/747","number":747,"state":"open","locked":false,"title":"ndiagquad logspace feature for improved numerical stability","user":{"login":"st--","id":5763727,"avatar_url":"https://avatars0.githubusercontent.com/u/5763727?v=4","gravatar_id":"","url":"https://api.github.com/users/st--","html_url":"https://github.com/st--","followers_url":"https://api.github.com/users/st--/followers","following_url":"https://api.github.com/users/st--/following{/other_user}","gists_url":"https://api.github.com/users/st--/gists{/gist_id}","starred_url":"https://api.github.com/users/st--/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/st--/subscriptions","organizations_url":"https://api.github.com/users/st--/orgs","repos_url":"https://api.github.com/users/st--/repos","events_url":"https://api.github.com/users/st--/events{/privacy}","received_events_url":"https://api.github.com/users/st--/received_events","type":"User","site_admin":false},"body":"Better numerical stability for predict_density().\r\nMore tests.","created_at":"2018-05-05T22:07:05Z","updated_at":"2018-05-06T11:52:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"475197d368e90c946629b7558b8b9692fbcef40a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/GPflow/GPflow/pulls/747/commits","review_comments_url":"https://api.github.com/repos/GPflow/GPflow/pulls/747/comments","review_comment_url":"https://api.github.com/repos/GPflow/GPflow/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GPflow/GPflow/issues/747/comments","statuses_url":"https://api.github.com/repos/GPflow/GPflow/statuses/0064ff3a50f8f567e00ef138bf8d45ddaf1fa342","head":{"label":"GPflow:st--/quadrature_logspace","ref":"st--/quadrature_logspace","sha":"0064ff3a50f8f567e00ef138bf8d45ddaf1fa342","user":{"login":"GPflow","id":16667412,"avatar_url":"https://avatars2.githubusercontent.com/u/16667412?v=4","gravatar_id":"","url":"https://api.github.com/users/GPflow","html_url":"https://github.com/GPflow","followers_url":"https://api.github.com/users/GPflow/followers","following_url":"https://api.github.com/users/GPflow/following{/other_user}","gists_url":"https://api.github.com/users/GPflow/gists{/gist_id}","starred_url":"https://api.github.com/users/GPflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GPflow/subscriptions","organizations_url":"https://api.github.com/users/GPflow/orgs","repos_url":"https://api.github.com/users/GPflow/repos","events_url":"https://api.github.com/users/GPflow/events{/privacy}","received_events_url":"https://api.github.com/users/GPflow/received_events","type":"Organization","site_admin":false},"repo":{"id":49643229,"name":"GPflow","full_name":"GPflow/GPflow","owner":{"login":"GPflow","id":16667412,"avatar_url":"https://avatars2.githubusercontent.com/u/16667412?v=4","gravatar_id":"","url":"https://api.github.com/users/GPflow","html_url":"https://github.com/GPflow","followers_url":"https://api.github.com/users/GPflow/followers","following_url":"https://api.github.com/users/GPflow/following{/other_user}","gists_url":"https://api.github.com/users/GPflow/gists{/gist_id}","starred_url":"https://api.github.com/users/GPflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GPflow/subscriptions","organizations_url":"https://api.github.com/users/GPflow/orgs","repos_url":"https://api.github.com/users/GPflow/repos","events_url":"https://api.github.com/users/GPflow/events{/privacy}","received_events_url":"https://api.github.com/users/GPflow/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GPflow/GPflow","description":"Gaussian processes in TensorFlow","fork":false,"url":"https://api.github.com/repos/GPflow/GPflow","forks_url":"https://api.github.com/repos/GPflow/GPflow/forks","keys_url":"https://api.github.com/repos/GPflow/GPflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GPflow/GPflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GPflow/GPflow/teams","hooks_url":"https://api.github.com/repos/GPflow/GPflow/hooks","issue_events_url":"https://api.github.com/repos/GPflow/GPflow/issues/events{/number}","events_url":"https://api.github.com/repos/GPflow/GPflow/events","assignees_url":"https://api.github.com/repos/GPflow/GPflow/assignees{/user}","branches_url":"https://api.github.com/repos/GPflow/GPflow/branches{/branch}","tags_url":"https://api.github.com/repos/GPflow/GPflow/tags","blobs_url":"https://api.github.com/repos/GPflow/GPflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GPflow/GPflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GPflow/GPflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/GPflow/GPflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GPflow/GPflow/statuses/{sha}","languages_url":"https://api.github.com/repos/GPflow/GPflow/languages","stargazers_url":"https://api.github.com/repos/GPflow/GPflow/stargazers","contributors_url":"https://api.github.com/repos/GPflow/GPflow/contributors","subscribers_url":"https://api.github.com/repos/GPflow/GPflow/subscribers","subscription_url":"https://api.github.com/repos/GPflow/GPflow/subscription","commits_url":"https://api.github.com/repos/GPflow/GPflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/GPflow/GPflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/GPflow/GPflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/GPflow/GPflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/GPflow/GPflow/contents/{+path}","compare_url":"https://api.github.com/repos/GPflow/GPflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GPflow/GPflow/merges","archive_url":"https://api.github.com/repos/GPflow/GPflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GPflow/GPflow/downloads","issues_url":"https://api.github.com/repos/GPflow/GPflow/issues{/number}","pulls_url":"https://api.github.com/repos/GPflow/GPflow/pulls{/number}","milestones_url":"https://api.github.com/repos/GPflow/GPflow/milestones{/number}","notifications_url":"https://api.github.com/repos/GPflow/GPflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GPflow/GPflow/labels{/name}","releases_url":"https://api.github.com/repos/GPflow/GPflow/releases{/id}","deployments_url":"https://api.github.com/repos/GPflow/GPflow/deployments","created_at":"2016-01-14T11:29:24Z","updated_at":"2018-05-05T22:52:57Z","pushed_at":"2018-05-06T11:47:26Z","git_url":"git://github.com/GPflow/GPflow.git","ssh_url":"git@github.com:GPflow/GPflow.git","clone_url":"https://github.com/GPflow/GPflow.git","svn_url":"https://github.com/GPflow/GPflow","homepage":"","size":28250,"stargazers_count":643,"watchers_count":643,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":187,"mirror_url":null,"archived":false,"open_issues_count":42,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":187,"open_issues":42,"watchers":643,"default_branch":"master"}},"base":{"label":"GPflow:master","ref":"master","sha":"b9e58179518c487566a4d3d70b046e6f7d8894ef","user":{"login":"GPflow","id":16667412,"avatar_url":"https://avatars2.githubusercontent.com/u/16667412?v=4","gravatar_id":"","url":"https://api.github.com/users/GPflow","html_url":"https://github.com/GPflow","followers_url":"https://api.github.com/users/GPflow/followers","following_url":"https://api.github.com/users/GPflow/following{/other_user}","gists_url":"https://api.github.com/users/GPflow/gists{/gist_id}","starred_url":"https://api.github.com/users/GPflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GPflow/subscriptions","organizations_url":"https://api.github.com/users/GPflow/orgs","repos_url":"https://api.github.com/users/GPflow/repos","events_url":"https://api.github.com/users/GPflow/events{/privacy}","received_events_url":"https://api.github.com/users/GPflow/received_events","type":"Organization","site_admin":false},"repo":{"id":49643229,"name":"GPflow","full_name":"GPflow/GPflow","owner":{"login":"GPflow","id":16667412,"avatar_url":"https://avatars2.githubusercontent.com/u/16667412?v=4","gravatar_id":"","url":"https://api.github.com/users/GPflow","html_url":"https://github.com/GPflow","followers_url":"https://api.github.com/users/GPflow/followers","following_url":"https://api.github.com/users/GPflow/following{/other_user}","gists_url":"https://api.github.com/users/GPflow/gists{/gist_id}","starred_url":"https://api.github.com/users/GPflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GPflow/subscriptions","organizations_url":"https://api.github.com/users/GPflow/orgs","repos_url":"https://api.github.com/users/GPflow/repos","events_url":"https://api.github.com/users/GPflow/events{/privacy}","received_events_url":"https://api.github.com/users/GPflow/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GPflow/GPflow","description":"Gaussian processes in TensorFlow","fork":false,"url":"https://api.github.com/repos/GPflow/GPflow","forks_url":"https://api.github.com/repos/GPflow/GPflow/forks","keys_url":"https://api.github.com/repos/GPflow/GPflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GPflow/GPflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GPflow/GPflow/teams","hooks_url":"https://api.github.com/repos/GPflow/GPflow/hooks","issue_events_url":"https://api.github.com/repos/GPflow/GPflow/issues/events{/number}","events_url":"https://api.github.com/repos/GPflow/GPflow/events","assignees_url":"https://api.github.com/repos/GPflow/GPflow/assignees{/user}","branches_url":"https://api.github.com/repos/GPflow/GPflow/branches{/branch}","tags_url":"https://api.github.com/repos/GPflow/GPflow/tags","blobs_url":"https://api.github.com/repos/GPflow/GPflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GPflow/GPflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GPflow/GPflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/GPflow/GPflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GPflow/GPflow/statuses/{sha}","languages_url":"https://api.github.com/repos/GPflow/GPflow/languages","stargazers_url":"https://api.github.com/repos/GPflow/GPflow/stargazers","contributors_url":"https://api.github.com/repos/GPflow/GPflow/contributors","subscribers_url":"https://api.github.com/repos/GPflow/GPflow/subscribers","subscription_url":"https://api.github.com/repos/GPflow/GPflow/subscription","commits_url":"https://api.github.com/repos/GPflow/GPflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/GPflow/GPflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/GPflow/GPflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/GPflow/GPflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/GPflow/GPflow/contents/{+path}","compare_url":"https://api.github.com/repos/GPflow/GPflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GPflow/GPflow/merges","archive_url":"https://api.github.com/repos/GPflow/GPflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GPflow/GPflow/downloads","issues_url":"https://api.github.com/repos/GPflow/GPflow/issues{/number}","pulls_url":"https://api.github.com/repos/GPflow/GPflow/pulls{/number}","milestones_url":"https://api.github.com/repos/GPflow/GPflow/milestones{/number}","notifications_url":"https://api.github.com/repos/GPflow/GPflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GPflow/GPflow/labels{/name}","releases_url":"https://api.github.com/repos/GPflow/GPflow/releases{/id}","deployments_url":"https://api.github.com/repos/GPflow/GPflow/deployments","created_at":"2016-01-14T11:29:24Z","updated_at":"2018-05-05T22:52:57Z","pushed_at":"2018-05-06T11:47:26Z","git_url":"git://github.com/GPflow/GPflow.git","ssh_url":"git@github.com:GPflow/GPflow.git","clone_url":"https://github.com/GPflow/GPflow.git","svn_url":"https://github.com/GPflow/GPflow","homepage":"","size":28250,"stargazers_count":643,"watchers_count":643,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":187,"mirror_url":null,"archived":false,"open_issues_count":42,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":187,"open_issues":42,"watchers":643,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GPflow/GPflow/pulls/747"},"html":{"href":"https://github.com/GPflow/GPflow/pull/747"},"issue":{"href":"https://api.github.com/repos/GPflow/GPflow/issues/747"},"comments":{"href":"https://api.github.com/repos/GPflow/GPflow/issues/747/comments"},"review_comments":{"href":"https://api.github.com/repos/GPflow/GPflow/pulls/747/comments"},"review_comment":{"href":"https://api.github.com/repos/GPflow/GPflow/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GPflow/GPflow/pulls/747/commits"},"statuses":{"href":"https://api.github.com/repos/GPflow/GPflow/statuses/0064ff3a50f8f567e00ef138bf8d45ddaf1fa342"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"st--"}}