{"action":"created","comment":{"url":"https://api.github.com/repos/UCL/STIR/pulls/comments/166042578","pull_request_review_id":94069104,"id":166042578,"diff_hunk":"@@ -0,0 +1,223 @@\n+//\n+//\n+/*\n+    Copyright (C) 2000- 2011, Hammersmith Imanet Ltd","path":"src/include/stir/recon_buildblock/PLSPrior.h","position":4,"original_position":4,"commit_id":"d5586b2a24e60dff68efed65e0403d620534fc08","original_commit_id":"de538b46b72529b7543edc0dcdd60265c76d652f","user":{"login":"danieldeidda","id":17123621,"avatar_url":"https://avatars2.githubusercontent.com/u/17123621?v=4","gravatar_id":"","url":"https://api.github.com/users/danieldeidda","html_url":"https://github.com/danieldeidda","followers_url":"https://api.github.com/users/danieldeidda/followers","following_url":"https://api.github.com/users/danieldeidda/following{/other_user}","gists_url":"https://api.github.com/users/danieldeidda/gists{/gist_id}","starred_url":"https://api.github.com/users/danieldeidda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danieldeidda/subscriptions","organizations_url":"https://api.github.com/users/danieldeidda/orgs","repos_url":"https://api.github.com/users/danieldeidda/repos","events_url":"https://api.github.com/users/danieldeidda/events{/privacy}","received_events_url":"https://api.github.com/users/danieldeidda/received_events","type":"User","site_admin":false},"body":"Also if I do not derive from PriorWithParabolicSurrogate I get an erron on the  set_defaults:\r\n\r\n/home/daniel/STIR-dev1/STIR/src/recon_buildblock/PLSPrior.cxx:152: error: cannot call member function 'void stir::GeneralisedPrior<DataT>::set_defaults() [with DataT = stir::DiscretisedDensity<3, float>]' without object\r\n   base_type::set_defaults();\r\n                           ^","created_at":"2018-02-05T17:14:16Z","updated_at":"2018-02-05T17:14:16Z","html_url":"https://github.com/UCL/STIR/pull/143#discussion_r166042578","pull_request_url":"https://api.github.com/repos/UCL/STIR/pulls/143","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/UCL/STIR/pulls/comments/166042578"},"html":{"href":"https://github.com/UCL/STIR/pull/143#discussion_r166042578"},"pull_request":{"href":"https://api.github.com/repos/UCL/STIR/pulls/143"}},"in_reply_to_id":165814777},"pull_request":{"url":"https://api.github.com/repos/UCL/STIR/pulls/143","id":166956369,"html_url":"https://github.com/UCL/STIR/pull/143","diff_url":"https://github.com/UCL/STIR/pull/143.diff","patch_url":"https://github.com/UCL/STIR/pull/143.patch","issue_url":"https://api.github.com/repos/UCL/STIR/issues/143","number":143,"state":"open","locked":false,"title":"PLS prior","user":{"login":"danieldeidda","id":17123621,"avatar_url":"https://avatars2.githubusercontent.com/u/17123621?v=4","gravatar_id":"","url":"https://api.github.com/users/danieldeidda","html_url":"https://github.com/danieldeidda","followers_url":"https://api.github.com/users/danieldeidda/followers","following_url":"https://api.github.com/users/danieldeidda/following{/other_user}","gists_url":"https://api.github.com/users/danieldeidda/gists{/gist_id}","starred_url":"https://api.github.com/users/danieldeidda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danieldeidda/subscriptions","organizations_url":"https://api.github.com/users/danieldeidda/orgs","repos_url":"https://api.github.com/users/danieldeidda/repos","events_url":"https://api.github.com/users/danieldeidda/events{/privacy}","received_events_url":"https://api.github.com/users/danieldeidda/received_events","type":"User","site_admin":false},"body":"implementation of the Parallel Level Sets prior. Some function are copied from QP but they are not used in this, so they need to be remove I would say.","created_at":"2018-02-03T10:22:44Z","updated_at":"2018-02-05T17:14:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5a54a8691a960d4bf5d0a98a05972ea9bcfd404a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/UCL/STIR/pulls/143/commits","review_comments_url":"https://api.github.com/repos/UCL/STIR/pulls/143/comments","review_comment_url":"https://api.github.com/repos/UCL/STIR/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UCL/STIR/issues/143/comments","statuses_url":"https://api.github.com/repos/UCL/STIR/statuses/d5586b2a24e60dff68efed65e0403d620534fc08","head":{"label":"danieldeidda:PLS","ref":"PLS","sha":"d5586b2a24e60dff68efed65e0403d620534fc08","user":{"login":"danieldeidda","id":17123621,"avatar_url":"https://avatars2.githubusercontent.com/u/17123621?v=4","gravatar_id":"","url":"https://api.github.com/users/danieldeidda","html_url":"https://github.com/danieldeidda","followers_url":"https://api.github.com/users/danieldeidda/followers","following_url":"https://api.github.com/users/danieldeidda/following{/other_user}","gists_url":"https://api.github.com/users/danieldeidda/gists{/gist_id}","starred_url":"https://api.github.com/users/danieldeidda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danieldeidda/subscriptions","organizations_url":"https://api.github.com/users/danieldeidda/orgs","repos_url":"https://api.github.com/users/danieldeidda/repos","events_url":"https://api.github.com/users/danieldeidda/events{/privacy}","received_events_url":"https://api.github.com/users/danieldeidda/received_events","type":"User","site_admin":false},"repo":{"id":51299350,"name":"STIR","full_name":"danieldeidda/STIR","owner":{"login":"danieldeidda","id":17123621,"avatar_url":"https://avatars2.githubusercontent.com/u/17123621?v=4","gravatar_id":"","url":"https://api.github.com/users/danieldeidda","html_url":"https://github.com/danieldeidda","followers_url":"https://api.github.com/users/danieldeidda/followers","following_url":"https://api.github.com/users/danieldeidda/following{/other_user}","gists_url":"https://api.github.com/users/danieldeidda/gists{/gist_id}","starred_url":"https://api.github.com/users/danieldeidda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danieldeidda/subscriptions","organizations_url":"https://api.github.com/users/danieldeidda/orgs","repos_url":"https://api.github.com/users/danieldeidda/repos","events_url":"https://api.github.com/users/danieldeidda/events{/privacy}","received_events_url":"https://api.github.com/users/danieldeidda/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danieldeidda/STIR","description":"Software for Tomographic Image Reconstruction","fork":true,"url":"https://api.github.com/repos/danieldeidda/STIR","forks_url":"https://api.github.com/repos/danieldeidda/STIR/forks","keys_url":"https://api.github.com/repos/danieldeidda/STIR/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danieldeidda/STIR/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danieldeidda/STIR/teams","hooks_url":"https://api.github.com/repos/danieldeidda/STIR/hooks","issue_events_url":"https://api.github.com/repos/danieldeidda/STIR/issues/events{/number}","events_url":"https://api.github.com/repos/danieldeidda/STIR/events","assignees_url":"https://api.github.com/repos/danieldeidda/STIR/assignees{/user}","branches_url":"https://api.github.com/repos/danieldeidda/STIR/branches{/branch}","tags_url":"https://api.github.com/repos/danieldeidda/STIR/tags","blobs_url":"https://api.github.com/repos/danieldeidda/STIR/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danieldeidda/STIR/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danieldeidda/STIR/git/refs{/sha}","trees_url":"https://api.github.com/repos/danieldeidda/STIR/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danieldeidda/STIR/statuses/{sha}","languages_url":"https://api.github.com/repos/danieldeidda/STIR/languages","stargazers_url":"https://api.github.com/repos/danieldeidda/STIR/stargazers","contributors_url":"https://api.github.com/repos/danieldeidda/STIR/contributors","subscribers_url":"https://api.github.com/repos/danieldeidda/STIR/subscribers","subscription_url":"https://api.github.com/repos/danieldeidda/STIR/subscription","commits_url":"https://api.github.com/repos/danieldeidda/STIR/commits{/sha}","git_commits_url":"https://api.github.com/repos/danieldeidda/STIR/git/commits{/sha}","comments_url":"https://api.github.com/repos/danieldeidda/STIR/comments{/number}","issue_comment_url":"https://api.github.com/repos/danieldeidda/STIR/issues/comments{/number}","contents_url":"https://api.github.com/repos/danieldeidda/STIR/contents/{+path}","compare_url":"https://api.github.com/repos/danieldeidda/STIR/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danieldeidda/STIR/merges","archive_url":"https://api.github.com/repos/danieldeidda/STIR/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danieldeidda/STIR/downloads","issues_url":"https://api.github.com/repos/danieldeidda/STIR/issues{/number}","pulls_url":"https://api.github.com/repos/danieldeidda/STIR/pulls{/number}","milestones_url":"https://api.github.com/repos/danieldeidda/STIR/milestones{/number}","notifications_url":"https://api.github.com/repos/danieldeidda/STIR/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danieldeidda/STIR/labels{/name}","releases_url":"https://api.github.com/repos/danieldeidda/STIR/releases{/id}","deployments_url":"https://api.github.com/repos/danieldeidda/STIR/deployments","created_at":"2016-02-08T13:26:38Z","updated_at":"2016-02-08T13:26:42Z","pushed_at":"2018-02-03T14:40:46Z","git_url":"git://github.com/danieldeidda/STIR.git","ssh_url":"git@github.com:danieldeidda/STIR.git","clone_url":"https://github.com/danieldeidda/STIR.git","svn_url":"https://github.com/danieldeidda/STIR","homepage":null,"size":31619,"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,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"UCL:master","ref":"master","sha":"d0c92616a926b12c5a52b66e9876259048df7f71","user":{"login":"UCL","id":2951150,"avatar_url":"https://avatars2.githubusercontent.com/u/2951150?v=4","gravatar_id":"","url":"https://api.github.com/users/UCL","html_url":"https://github.com/UCL","followers_url":"https://api.github.com/users/UCL/followers","following_url":"https://api.github.com/users/UCL/following{/other_user}","gists_url":"https://api.github.com/users/UCL/gists{/gist_id}","starred_url":"https://api.github.com/users/UCL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UCL/subscriptions","organizations_url":"https://api.github.com/users/UCL/orgs","repos_url":"https://api.github.com/users/UCL/repos","events_url":"https://api.github.com/users/UCL/events{/privacy}","received_events_url":"https://api.github.com/users/UCL/received_events","type":"Organization","site_admin":false},"repo":{"id":43287063,"name":"STIR","full_name":"UCL/STIR","owner":{"login":"UCL","id":2951150,"avatar_url":"https://avatars2.githubusercontent.com/u/2951150?v=4","gravatar_id":"","url":"https://api.github.com/users/UCL","html_url":"https://github.com/UCL","followers_url":"https://api.github.com/users/UCL/followers","following_url":"https://api.github.com/users/UCL/following{/other_user}","gists_url":"https://api.github.com/users/UCL/gists{/gist_id}","starred_url":"https://api.github.com/users/UCL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UCL/subscriptions","organizations_url":"https://api.github.com/users/UCL/orgs","repos_url":"https://api.github.com/users/UCL/repos","events_url":"https://api.github.com/users/UCL/events{/privacy}","received_events_url":"https://api.github.com/users/UCL/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UCL/STIR","description":"Software for Tomographic Image Reconstruction","fork":false,"url":"https://api.github.com/repos/UCL/STIR","forks_url":"https://api.github.com/repos/UCL/STIR/forks","keys_url":"https://api.github.com/repos/UCL/STIR/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UCL/STIR/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UCL/STIR/teams","hooks_url":"https://api.github.com/repos/UCL/STIR/hooks","issue_events_url":"https://api.github.com/repos/UCL/STIR/issues/events{/number}","events_url":"https://api.github.com/repos/UCL/STIR/events","assignees_url":"https://api.github.com/repos/UCL/STIR/assignees{/user}","branches_url":"https://api.github.com/repos/UCL/STIR/branches{/branch}","tags_url":"https://api.github.com/repos/UCL/STIR/tags","blobs_url":"https://api.github.com/repos/UCL/STIR/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UCL/STIR/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UCL/STIR/git/refs{/sha}","trees_url":"https://api.github.com/repos/UCL/STIR/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UCL/STIR/statuses/{sha}","languages_url":"https://api.github.com/repos/UCL/STIR/languages","stargazers_url":"https://api.github.com/repos/UCL/STIR/stargazers","contributors_url":"https://api.github.com/repos/UCL/STIR/contributors","subscribers_url":"https://api.github.com/repos/UCL/STIR/subscribers","subscription_url":"https://api.github.com/repos/UCL/STIR/subscription","commits_url":"https://api.github.com/repos/UCL/STIR/commits{/sha}","git_commits_url":"https://api.github.com/repos/UCL/STIR/git/commits{/sha}","comments_url":"https://api.github.com/repos/UCL/STIR/comments{/number}","issue_comment_url":"https://api.github.com/repos/UCL/STIR/issues/comments{/number}","contents_url":"https://api.github.com/repos/UCL/STIR/contents/{+path}","compare_url":"https://api.github.com/repos/UCL/STIR/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UCL/STIR/merges","archive_url":"https://api.github.com/repos/UCL/STIR/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UCL/STIR/downloads","issues_url":"https://api.github.com/repos/UCL/STIR/issues{/number}","pulls_url":"https://api.github.com/repos/UCL/STIR/pulls{/number}","milestones_url":"https://api.github.com/repos/UCL/STIR/milestones{/number}","notifications_url":"https://api.github.com/repos/UCL/STIR/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UCL/STIR/labels{/name}","releases_url":"https://api.github.com/repos/UCL/STIR/releases{/id}","deployments_url":"https://api.github.com/repos/UCL/STIR/deployments","created_at":"2015-09-28T07:44:46Z","updated_at":"2018-01-19T14:53:11Z","pushed_at":"2018-02-03T14:40:48Z","git_url":"git://github.com/UCL/STIR.git","ssh_url":"git@github.com:UCL/STIR.git","clone_url":"https://github.com/UCL/STIR.git","svn_url":"https://github.com/UCL/STIR","homepage":"http://stir.sourceforge.net/","size":41436,"stargazers_count":20,"watchers_count":20,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"archived":false,"open_issues_count":50,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":30,"open_issues":50,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UCL/STIR/pulls/143"},"html":{"href":"https://github.com/UCL/STIR/pull/143"},"issue":{"href":"https://api.github.com/repos/UCL/STIR/issues/143"},"comments":{"href":"https://api.github.com/repos/UCL/STIR/issues/143/comments"},"review_comments":{"href":"https://api.github.com/repos/UCL/STIR/pulls/143/comments"},"review_comment":{"href":"https://api.github.com/repos/UCL/STIR/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UCL/STIR/pulls/143/commits"},"statuses":{"href":"https://api.github.com/repos/UCL/STIR/statuses/d5586b2a24e60dff68efed65e0403d620534fc08"}},"author_association":"NONE"}}
{"actor":{"display_login":"danieldeidda"}}