payload: {"action":"created","comment":{"url":"https://api.github.com/repos/PointCloudLibrary/pcl/pulls/comments/340962311","pull_request_review_id":309651620,"id":340962311,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM0MDk2MjMxMQ==","diff_hunk":"@@ -493,7 +487,7 @@ pcl::ROPSEstimation <PointInT, PointOutT>::getDistributionMatrix (const unsigned\n     matrix (row, col) += 1.0f;\n   }\n \n-  matrix /= static_cast <float> (number_of_points);\n+  matrix /= static_cast <float> (std::min<std::size_t> (1, cloud.points.size ()));","path":"features/include/pcl/features/impl/rops_estimation.hpp","position":242,"original_position":197,"commit_id":"aeac8c3218296fa9848e9e7dc46a8c713b2af540","original_commit_id":"389e87ba9c97d7b701dad8c83059a5824313ea1d","user":{"login":"kunaltyagi","id":2657068,"node_id":"MDQ6VXNlcjI2NTcwNjg=","avatar_url":"https://avatars3.githubusercontent.com/u/2657068?v=4","gravatar_id":"","url":"https://api.github.com/users/kunaltyagi","html_url":"https://github.com/kunaltyagi","followers_url":"https://api.github.com/users/kunaltyagi/followers","following_url":"https://api.github.com/users/kunaltyagi/following{/other_user}","gists_url":"https://api.github.com/users/kunaltyagi/gists{/gist_id}","starred_url":"https://api.github.com/users/kunaltyagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kunaltyagi/subscriptions","organizations_url":"https://api.github.com/users/kunaltyagi/orgs","repos_url":"https://api.github.com/users/kunaltyagi/repos","events_url":"https://api.github.com/users/kunaltyagi/events{/privacy}","received_events_url":"https://api.github.com/users/kunaltyagi/received_events","type":"User","site_admin":false},"body":"Yes, that'll work","created_at":"2019-10-31T05:10:20Z","updated_at":"2019-10-31T05:10:20Z","html_url":"https://github.com/PointCloudLibrary/pcl/pull/3447#discussion_r340962311","pull_request_url":"https://api.github.com/repos/PointCloudLibrary/pcl/pulls/3447","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/PointCloudLibrary/pcl/pulls/comments/340962311"},"html":{"href":"https://github.com/PointCloudLibrary/pcl/pull/3447#discussion_r340962311"},"pull_request":{"href":"https://api.github.com/repos/PointCloudLibrary/pcl/pulls/3447"}},"in_reply_to_id":340594083},"pull_request":{"url":"https://api.github.com/repos/PointCloudLibrary/pcl/pulls/3447","id":334220312,"node_id":"MDExOlB1bGxSZXF1ZXN0MzM0MjIwMzEy","html_url":"https://github.com/PointCloudLibrary/pcl/pull/3447","diff_url":"https://github.com/PointCloudLibrary/pcl/pull/3447.diff","patch_url":"https://github.com/PointCloudLibrary/pcl/pull/3447.patch","issue_url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/3447","number":3447,"state":"open","locked":false,"title":"[features] Better indices and looping","user":{"login":"kunaltyagi","id":2657068,"node_id":"MDQ6VXNlcjI2NTcwNjg=","avatar_url":"https://avatars3.githubusercontent.com/u/2657068?v=4","gravatar_id":"","url":"https://api.github.com/users/kunaltyagi","html_url":"https://github.com/kunaltyagi","followers_url":"https://api.github.com/users/kunaltyagi/followers","following_url":"https://api.github.com/users/kunaltyagi/following{/other_user}","gists_url":"https://api.github.com/users/kunaltyagi/gists{/gist_id}","starred_url":"https://api.github.com/users/kunaltyagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kunaltyagi/subscriptions","organizations_url":"https://api.github.com/users/kunaltyagi/orgs","repos_url":"https://api.github.com/users/kunaltyagi/repos","events_url":"https://api.github.com/users/kunaltyagi/events{/privacy}","received_events_url":"https://api.github.com/users/kunaltyagi/received_events","type":"User","site_admin":false},"body":"Converting internal indices to `std::size_t` or smarter loops","created_at":"2019-10-30T12:34:03Z","updated_at":"2019-10-31T05:10:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1d61b6735ff1e37d28afbbdb9f94a20a6557d437","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":837022811,"node_id":"MDU6TGFiZWw4MzcwMjI4MTE=","url":"https://api.github.com/repos/PointCloudLibrary/pcl/labels/module:%20features","name":"module: features","color":"bfe5bf","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/PointCloudLibrary/pcl/pulls/3447/commits","review_comments_url":"https://api.github.com/repos/PointCloudLibrary/pcl/pulls/3447/comments","review_comment_url":"https://api.github.com/repos/PointCloudLibrary/pcl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/3447/comments","statuses_url":"https://api.github.com/repos/PointCloudLibrary/pcl/statuses/aeac8c3218296fa9848e9e7dc46a8c713b2af540","head":{"label":"kunaltyagi:std_size_features","ref":"std_size_features","sha":"aeac8c3218296fa9848e9e7dc46a8c713b2af540","user":{"login":"kunaltyagi","id":2657068,"node_id":"MDQ6VXNlcjI2NTcwNjg=","avatar_url":"https://avatars3.githubusercontent.com/u/2657068?v=4","gravatar_id":"","url":"https://api.github.com/users/kunaltyagi","html_url":"https://github.com/kunaltyagi","followers_url":"https://api.github.com/users/kunaltyagi/followers","following_url":"https://api.github.com/users/kunaltyagi/following{/other_user}","gists_url":"https://api.github.com/users/kunaltyagi/gists{/gist_id}","starred_url":"https://api.github.com/users/kunaltyagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kunaltyagi/subscriptions","organizations_url":"https://api.github.com/users/kunaltyagi/orgs","repos_url":"https://api.github.com/users/kunaltyagi/repos","events_url":"https://api.github.com/users/kunaltyagi/events{/privacy}","received_events_url":"https://api.github.com/users/kunaltyagi/received_events","type":"User","site_admin":false},"repo":{"id":191690968,"node_id":"MDEwOlJlcG9zaXRvcnkxOTE2OTA5Njg=","name":"pcl","full_name":"kunaltyagi/pcl","private":false,"owner":{"login":"kunaltyagi","id":2657068,"node_id":"MDQ6VXNlcjI2NTcwNjg=","avatar_url":"https://avatars3.githubusercontent.com/u/2657068?v=4","gravatar_id":"","url":"https://api.github.com/users/kunaltyagi","html_url":"https://github.com/kunaltyagi","followers_url":"https://api.github.com/users/kunaltyagi/followers","following_url":"https://api.github.com/users/kunaltyagi/following{/other_user}","gists_url":"https://api.github.com/users/kunaltyagi/gists{/gist_id}","starred_url":"https://api.github.com/users/kunaltyagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kunaltyagi/subscriptions","organizations_url":"https://api.github.com/users/kunaltyagi/orgs","repos_url":"https://api.github.com/users/kunaltyagi/repos","events_url":"https://api.github.com/users/kunaltyagi/events{/privacy}","received_events_url":"https://api.github.com/users/kunaltyagi/received_events","type":"User","site_admin":false},"html_url":"https://github.com/kunaltyagi/pcl","description":"Point Cloud Library (PCL)","fork":true,"url":"https://api.github.com/repos/kunaltyagi/pcl","forks_url":"https://api.github.com/repos/kunaltyagi/pcl/forks","keys_url":"https://api.github.com/repos/kunaltyagi/pcl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kunaltyagi/pcl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kunaltyagi/pcl/teams","hooks_url":"https://api.github.com/repos/kunaltyagi/pcl/hooks","issue_events_url":"https://api.github.com/repos/kunaltyagi/pcl/issues/events{/number}","events_url":"https://api.github.com/repos/kunaltyagi/pcl/events","assignees_url":"https://api.github.com/repos/kunaltyagi/pcl/assignees{/user}","branches_url":"https://api.github.com/repos/kunaltyagi/pcl/branches{/branch}","tags_url":"https://api.github.com/repos/kunaltyagi/pcl/tags","blobs_url":"https://api.github.com/repos/kunaltyagi/pcl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kunaltyagi/pcl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kunaltyagi/pcl/git/refs{/sha}","trees_url":"https://api.github.com/repos/kunaltyagi/pcl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kunaltyagi/pcl/statuses/{sha}","languages_url":"https://api.github.com/repos/kunaltyagi/pcl/languages","stargazers_url":"https://api.github.com/repos/kunaltyagi/pcl/stargazers","contributors_url":"https://api.github.com/repos/kunaltyagi/pcl/contributors","subscribers_url":"https://api.github.com/repos/kunaltyagi/pcl/subscribers","subscription_url":"https://api.github.com/repos/kunaltyagi/pcl/subscription","commits_url":"https://api.github.com/repos/kunaltyagi/pcl/commits{/sha}","git_commits_url":"https://api.github.com/repos/kunaltyagi/pcl/git/commits{/sha}","comments_url":"https://api.github.com/repos/kunaltyagi/pcl/comments{/number}","issue_comment_url":"https://api.github.com/repos/kunaltyagi/pcl/issues/comments{/number}","contents_url":"https://api.github.com/repos/kunaltyagi/pcl/contents/{+path}","compare_url":"https://api.github.com/repos/kunaltyagi/pcl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kunaltyagi/pcl/merges","archive_url":"https://api.github.com/repos/kunaltyagi/pcl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kunaltyagi/pcl/downloads","issues_url":"https://api.github.com/repos/kunaltyagi/pcl/issues{/number}","pulls_url":"https://api.github.com/repos/kunaltyagi/pcl/pulls{/number}","milestones_url":"https://api.github.com/repos/kunaltyagi/pcl/milestones{/number}","notifications_url":"https://api.github.com/repos/kunaltyagi/pcl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kunaltyagi/pcl/labels{/name}","releases_url":"https://api.github.com/repos/kunaltyagi/pcl/releases{/id}","deployments_url":"https://api.github.com/repos/kunaltyagi/pcl/deployments","created_at":"2019-06-13T04:31:24Z","updated_at":"2019-10-30T12:02:16Z","pushed_at":"2019-10-30T12:32:54Z","git_url":"git://github.com/kunaltyagi/pcl.git","ssh_url":"git@github.com:kunaltyagi/pcl.git","clone_url":"https://github.com/kunaltyagi/pcl.git","svn_url":"https://github.com/kunaltyagi/pcl","homepage":"http://www.pointclouds.org","size":228346,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"PointCloudLibrary:master","ref":"master","sha":"8d5fa69f0afde84e153df6e2321ea5165b12d59c","user":{"login":"PointCloudLibrary","id":2059451,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNTk0NTE=","avatar_url":"https://avatars2.githubusercontent.com/u/2059451?v=4","gravatar_id":"","url":"https://api.github.com/users/PointCloudLibrary","html_url":"https://github.com/PointCloudLibrary","followers_url":"https://api.github.com/users/PointCloudLibrary/followers","following_url":"https://api.github.com/users/PointCloudLibrary/following{/other_user}","gists_url":"https://api.github.com/users/PointCloudLibrary/gists{/gist_id}","starred_url":"https://api.github.com/users/PointCloudLibrary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PointCloudLibrary/subscriptions","organizations_url":"https://api.github.com/users/PointCloudLibrary/orgs","repos_url":"https://api.github.com/users/PointCloudLibrary/repos","events_url":"https://api.github.com/users/PointCloudLibrary/events{/privacy}","received_events_url":"https://api.github.com/users/PointCloudLibrary/received_events","type":"Organization","site_admin":false},"repo":{"id":8162615,"node_id":"MDEwOlJlcG9zaXRvcnk4MTYyNjE1","name":"pcl","full_name":"PointCloudLibrary/pcl","private":false,"owner":{"login":"PointCloudLibrary","id":2059451,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNTk0NTE=","avatar_url":"https://avatars2.githubusercontent.com/u/2059451?v=4","gravatar_id":"","url":"https://api.github.com/users/PointCloudLibrary","html_url":"https://github.com/PointCloudLibrary","followers_url":"https://api.github.com/users/PointCloudLibrary/followers","following_url":"https://api.github.com/users/PointCloudLibrary/following{/other_user}","gists_url":"https://api.github.com/users/PointCloudLibrary/gists{/gist_id}","starred_url":"https://api.github.com/users/PointCloudLibrary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PointCloudLibrary/subscriptions","organizations_url":"https://api.github.com/users/PointCloudLibrary/orgs","repos_url":"https://api.github.com/users/PointCloudLibrary/repos","events_url":"https://api.github.com/users/PointCloudLibrary/events{/privacy}","received_events_url":"https://api.github.com/users/PointCloudLibrary/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/PointCloudLibrary/pcl","description":"Point Cloud Library (PCL)","fork":false,"url":"https://api.github.com/repos/PointCloudLibrary/pcl","forks_url":"https://api.github.com/repos/PointCloudLibrary/pcl/forks","keys_url":"https://api.github.com/repos/PointCloudLibrary/pcl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PointCloudLibrary/pcl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PointCloudLibrary/pcl/teams","hooks_url":"https://api.github.com/repos/PointCloudLibrary/pcl/hooks","issue_events_url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/events{/number}","events_url":"https://api.github.com/repos/PointCloudLibrary/pcl/events","assignees_url":"https://api.github.com/repos/PointCloudLibrary/pcl/assignees{/user}","branches_url":"https://api.github.com/repos/PointCloudLibrary/pcl/branches{/branch}","tags_url":"https://api.github.com/repos/PointCloudLibrary/pcl/tags","blobs_url":"https://api.github.com/repos/PointCloudLibrary/pcl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PointCloudLibrary/pcl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PointCloudLibrary/pcl/git/refs{/sha}","trees_url":"https://api.github.com/repos/PointCloudLibrary/pcl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PointCloudLibrary/pcl/statuses/{sha}","languages_url":"https://api.github.com/repos/PointCloudLibrary/pcl/languages","stargazers_url":"https://api.github.com/repos/PointCloudLibrary/pcl/stargazers","contributors_url":"https://api.github.com/repos/PointCloudLibrary/pcl/contributors","subscribers_url":"https://api.github.com/repos/PointCloudLibrary/pcl/subscribers","subscription_url":"https://api.github.com/repos/PointCloudLibrary/pcl/subscription","commits_url":"https://api.github.com/repos/PointCloudLibrary/pcl/commits{/sha}","git_commits_url":"https://api.github.com/repos/PointCloudLibrary/pcl/git/commits{/sha}","comments_url":"https://api.github.com/repos/PointCloudLibrary/pcl/comments{/number}","issue_comment_url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/comments{/number}","contents_url":"https://api.github.com/repos/PointCloudLibrary/pcl/contents/{+path}","compare_url":"https://api.github.com/repos/PointCloudLibrary/pcl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PointCloudLibrary/pcl/merges","archive_url":"https://api.github.com/repos/PointCloudLibrary/pcl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PointCloudLibrary/pcl/downloads","issues_url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues{/number}","pulls_url":"https://api.github.com/repos/PointCloudLibrary/pcl/pulls{/number}","milestones_url":"https://api.github.com/repos/PointCloudLibrary/pcl/milestones{/number}","notifications_url":"https://api.github.com/repos/PointCloudLibrary/pcl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PointCloudLibrary/pcl/labels{/name}","releases_url":"https://api.github.com/repos/PointCloudLibrary/pcl/releases{/id}","deployments_url":"https://api.github.com/repos/PointCloudLibrary/pcl/deployments","created_at":"2013-02-12T16:40:25Z","updated_at":"2019-10-31T02:19:51Z","pushed_at":"2019-10-30T23:25:04Z","git_url":"git://github.com/PointCloudLibrary/pcl.git","ssh_url":"git@github.com:PointCloudLibrary/pcl.git","clone_url":"https://github.com/PointCloudLibrary/pcl.git","svn_url":"https://github.com/PointCloudLibrary/pcl","homepage":"http://www.pointclouds.org","size":228291,"stargazers_count":4309,"watchers_count":4309,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2962,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":547,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2962,"open_issues":547,"watchers":4309,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PointCloudLibrary/pcl/pulls/3447"},"html":{"href":"https://github.com/PointCloudLibrary/pcl/pull/3447"},"issue":{"href":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/3447"},"comments":{"href":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/3447/comments"},"review_comments":{"href":"https://api.github.com/repos/PointCloudLibrary/pcl/pulls/3447/comments"},"review_comment":{"href":"https://api.github.com/repos/PointCloudLibrary/pcl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PointCloudLibrary/pcl/pulls/3447/commits"},"statuses":{"href":"https://api.github.com/repos/PointCloudLibrary/pcl/statuses/aeac8c3218296fa9848e9e7dc46a8c713b2af540"}},"author_association":"CONTRIBUTOR"}}
other: {"actor":{"display_login":"kunaltyagi"}}