{"action":"closed","number":972,"pull_request":{"url":"https://api.github.com/repos/jfalcou/nt2/pulls/972","id":54353647,"html_url":"https://github.com/jfalcou/nt2/pull/972","diff_url":"https://github.com/jfalcou/nt2/pull/972.diff","patch_url":"https://github.com/jfalcou/nt2/pull/972.patch","issue_url":"https://api.github.com/repos/jfalcou/nt2/issues/972","number":972,"state":"closed","locked":false,"title":"Made prev/next_power_of_2 a generic function.","user":{"login":"andre-bergner","id":1143094,"avatar_url":"https://avatars.githubusercontent.com/u/1143094?v=3","gravatar_id":"","url":"https://api.github.com/users/andre-bergner","html_url":"https://github.com/andre-bergner","followers_url":"https://api.github.com/users/andre-bergner/followers","following_url":"https://api.github.com/users/andre-bergner/following{/other_user}","gists_url":"https://api.github.com/users/andre-bergner/gists{/gist_id}","starred_url":"https://api.github.com/users/andre-bergner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andre-bergner/subscriptions","organizations_url":"https://api.github.com/users/andre-bergner/orgs","repos_url":"https://api.github.com/users/andre-bergner/repos","events_url":"https://api.github.com/users/andre-bergner/events{/privacy}","received_events_url":"https://api.github.com/users/andre-bergner/received_events","type":"User","site_admin":false},"body":"Made `prev_power_of_2`and `next_power_of_2` generic functions that works with all integral types.\r\nThis is done to…\r\n * get rid of warnings, or to avoid unnecessary explicit casts to `size_t` when using this function,\r\n * compute only necessary shifts, depending on the size of the integral type.\r\n","created_at":"2015-12-22T10:19:50Z","updated_at":"2016-01-06T08:38:35Z","closed_at":"2016-01-06T08:38:35Z","merged_at":"2016-01-06T08:38:35Z","merge_commit_sha":"07cafed854a11eb5acdddd92e977d49bedf88614","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jfalcou/nt2/pulls/972/commits","review_comments_url":"https://api.github.com/repos/jfalcou/nt2/pulls/972/comments","review_comment_url":"https://api.github.com/repos/jfalcou/nt2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jfalcou/nt2/issues/972/comments","statuses_url":"https://api.github.com/repos/jfalcou/nt2/statuses/31633d6da9641783815d5858ca70a31a8bf46372","head":{"label":"andre-bergner:topic/generic_power_of_2","ref":"topic/generic_power_of_2","sha":"31633d6da9641783815d5858ca70a31a8bf46372","user":{"login":"andre-bergner","id":1143094,"avatar_url":"https://avatars.githubusercontent.com/u/1143094?v=3","gravatar_id":"","url":"https://api.github.com/users/andre-bergner","html_url":"https://github.com/andre-bergner","followers_url":"https://api.github.com/users/andre-bergner/followers","following_url":"https://api.github.com/users/andre-bergner/following{/other_user}","gists_url":"https://api.github.com/users/andre-bergner/gists{/gist_id}","starred_url":"https://api.github.com/users/andre-bergner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andre-bergner/subscriptions","organizations_url":"https://api.github.com/users/andre-bergner/orgs","repos_url":"https://api.github.com/users/andre-bergner/repos","events_url":"https://api.github.com/users/andre-bergner/events{/privacy}","received_events_url":"https://api.github.com/users/andre-bergner/received_events","type":"User","site_admin":false},"repo":{"id":48425013,"name":"nt2","full_name":"andre-bergner/nt2","owner":{"login":"andre-bergner","id":1143094,"avatar_url":"https://avatars.githubusercontent.com/u/1143094?v=3","gravatar_id":"","url":"https://api.github.com/users/andre-bergner","html_url":"https://github.com/andre-bergner","followers_url":"https://api.github.com/users/andre-bergner/followers","following_url":"https://api.github.com/users/andre-bergner/following{/other_user}","gists_url":"https://api.github.com/users/andre-bergner/gists{/gist_id}","starred_url":"https://api.github.com/users/andre-bergner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andre-bergner/subscriptions","organizations_url":"https://api.github.com/users/andre-bergner/orgs","repos_url":"https://api.github.com/users/andre-bergner/repos","events_url":"https://api.github.com/users/andre-bergner/events{/privacy}","received_events_url":"https://api.github.com/users/andre-bergner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andre-bergner/nt2","description":"The Numerical Template Toolbox - C++ Scientific Computing Made Easy","fork":true,"url":"https://api.github.com/repos/andre-bergner/nt2","forks_url":"https://api.github.com/repos/andre-bergner/nt2/forks","keys_url":"https://api.github.com/repos/andre-bergner/nt2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andre-bergner/nt2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andre-bergner/nt2/teams","hooks_url":"https://api.github.com/repos/andre-bergner/nt2/hooks","issue_events_url":"https://api.github.com/repos/andre-bergner/nt2/issues/events{/number}","events_url":"https://api.github.com/repos/andre-bergner/nt2/events","assignees_url":"https://api.github.com/repos/andre-bergner/nt2/assignees{/user}","branches_url":"https://api.github.com/repos/andre-bergner/nt2/branches{/branch}","tags_url":"https://api.github.com/repos/andre-bergner/nt2/tags","blobs_url":"https://api.github.com/repos/andre-bergner/nt2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andre-bergner/nt2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andre-bergner/nt2/git/refs{/sha}","trees_url":"https://api.github.com/repos/andre-bergner/nt2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andre-bergner/nt2/statuses/{sha}","languages_url":"https://api.github.com/repos/andre-bergner/nt2/languages","stargazers_url":"https://api.github.com/repos/andre-bergner/nt2/stargazers","contributors_url":"https://api.github.com/repos/andre-bergner/nt2/contributors","subscribers_url":"https://api.github.com/repos/andre-bergner/nt2/subscribers","subscription_url":"https://api.github.com/repos/andre-bergner/nt2/subscription","commits_url":"https://api.github.com/repos/andre-bergner/nt2/commits{/sha}","git_commits_url":"https://api.github.com/repos/andre-bergner/nt2/git/commits{/sha}","comments_url":"https://api.github.com/repos/andre-bergner/nt2/comments{/number}","issue_comment_url":"https://api.github.com/repos/andre-bergner/nt2/issues/comments{/number}","contents_url":"https://api.github.com/repos/andre-bergner/nt2/contents/{+path}","compare_url":"https://api.github.com/repos/andre-bergner/nt2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andre-bergner/nt2/merges","archive_url":"https://api.github.com/repos/andre-bergner/nt2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andre-bergner/nt2/downloads","issues_url":"https://api.github.com/repos/andre-bergner/nt2/issues{/number}","pulls_url":"https://api.github.com/repos/andre-bergner/nt2/pulls{/number}","milestones_url":"https://api.github.com/repos/andre-bergner/nt2/milestones{/number}","notifications_url":"https://api.github.com/repos/andre-bergner/nt2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andre-bergner/nt2/labels{/name}","releases_url":"https://api.github.com/repos/andre-bergner/nt2/releases{/id}","created_at":"2015-12-22T10:11:05Z","updated_at":"2015-12-22T10:11:23Z","pushed_at":"2015-12-22T14:10:29Z","git_url":"git://github.com/andre-bergner/nt2.git","ssh_url":"git@github.com:andre-bergner/nt2.git","clone_url":"https://github.com/andre-bergner/nt2.git","svn_url":"https://github.com/andre-bergner/nt2","homepage":"http://nt2.numscale.com/doc","size":75895,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jfalcou:master","ref":"master","sha":"1d3d5ea89829b0b717c32a5289ad0bd5a712348a","user":{"login":"jfalcou","id":285977,"avatar_url":"https://avatars.githubusercontent.com/u/285977?v=3","gravatar_id":"","url":"https://api.github.com/users/jfalcou","html_url":"https://github.com/jfalcou","followers_url":"https://api.github.com/users/jfalcou/followers","following_url":"https://api.github.com/users/jfalcou/following{/other_user}","gists_url":"https://api.github.com/users/jfalcou/gists{/gist_id}","starred_url":"https://api.github.com/users/jfalcou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfalcou/subscriptions","organizations_url":"https://api.github.com/users/jfalcou/orgs","repos_url":"https://api.github.com/users/jfalcou/repos","events_url":"https://api.github.com/users/jfalcou/events{/privacy}","received_events_url":"https://api.github.com/users/jfalcou/received_events","type":"User","site_admin":false},"repo":{"id":704698,"name":"nt2","full_name":"jfalcou/nt2","owner":{"login":"jfalcou","id":285977,"avatar_url":"https://avatars.githubusercontent.com/u/285977?v=3","gravatar_id":"","url":"https://api.github.com/users/jfalcou","html_url":"https://github.com/jfalcou","followers_url":"https://api.github.com/users/jfalcou/followers","following_url":"https://api.github.com/users/jfalcou/following{/other_user}","gists_url":"https://api.github.com/users/jfalcou/gists{/gist_id}","starred_url":"https://api.github.com/users/jfalcou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfalcou/subscriptions","organizations_url":"https://api.github.com/users/jfalcou/orgs","repos_url":"https://api.github.com/users/jfalcou/repos","events_url":"https://api.github.com/users/jfalcou/events{/privacy}","received_events_url":"https://api.github.com/users/jfalcou/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jfalcou/nt2","description":"The Numerical Template Toolbox - C++ Scientific Computing Made Easy","fork":false,"url":"https://api.github.com/repos/jfalcou/nt2","forks_url":"https://api.github.com/repos/jfalcou/nt2/forks","keys_url":"https://api.github.com/repos/jfalcou/nt2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jfalcou/nt2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jfalcou/nt2/teams","hooks_url":"https://api.github.com/repos/jfalcou/nt2/hooks","issue_events_url":"https://api.github.com/repos/jfalcou/nt2/issues/events{/number}","events_url":"https://api.github.com/repos/jfalcou/nt2/events","assignees_url":"https://api.github.com/repos/jfalcou/nt2/assignees{/user}","branches_url":"https://api.github.com/repos/jfalcou/nt2/branches{/branch}","tags_url":"https://api.github.com/repos/jfalcou/nt2/tags","blobs_url":"https://api.github.com/repos/jfalcou/nt2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jfalcou/nt2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jfalcou/nt2/git/refs{/sha}","trees_url":"https://api.github.com/repos/jfalcou/nt2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jfalcou/nt2/statuses/{sha}","languages_url":"https://api.github.com/repos/jfalcou/nt2/languages","stargazers_url":"https://api.github.com/repos/jfalcou/nt2/stargazers","contributors_url":"https://api.github.com/repos/jfalcou/nt2/contributors","subscribers_url":"https://api.github.com/repos/jfalcou/nt2/subscribers","subscription_url":"https://api.github.com/repos/jfalcou/nt2/subscription","commits_url":"https://api.github.com/repos/jfalcou/nt2/commits{/sha}","git_commits_url":"https://api.github.com/repos/jfalcou/nt2/git/commits{/sha}","comments_url":"https://api.github.com/repos/jfalcou/nt2/comments{/number}","issue_comment_url":"https://api.github.com/repos/jfalcou/nt2/issues/comments{/number}","contents_url":"https://api.github.com/repos/jfalcou/nt2/contents/{+path}","compare_url":"https://api.github.com/repos/jfalcou/nt2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jfalcou/nt2/merges","archive_url":"https://api.github.com/repos/jfalcou/nt2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jfalcou/nt2/downloads","issues_url":"https://api.github.com/repos/jfalcou/nt2/issues{/number}","pulls_url":"https://api.github.com/repos/jfalcou/nt2/pulls{/number}","milestones_url":"https://api.github.com/repos/jfalcou/nt2/milestones{/number}","notifications_url":"https://api.github.com/repos/jfalcou/nt2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jfalcou/nt2/labels{/name}","releases_url":"https://api.github.com/repos/jfalcou/nt2/releases{/id}","created_at":"2010-06-05T11:44:49Z","updated_at":"2016-01-01T19:13:24Z","pushed_at":"2016-01-06T08:38:35Z","git_url":"git://github.com/jfalcou/nt2.git","ssh_url":"git@github.com:jfalcou/nt2.git","clone_url":"https://github.com/jfalcou/nt2.git","svn_url":"https://github.com/jfalcou/nt2","homepage":"http://nt2.numscale.com/doc","size":76785,"stargazers_count":211,"watchers_count":211,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":47,"mirror_url":null,"open_issues_count":117,"forks":47,"open_issues":117,"watchers":211,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jfalcou/nt2/pulls/972"},"html":{"href":"https://github.com/jfalcou/nt2/pull/972"},"issue":{"href":"https://api.github.com/repos/jfalcou/nt2/issues/972"},"comments":{"href":"https://api.github.com/repos/jfalcou/nt2/issues/972/comments"},"review_comments":{"href":"https://api.github.com/repos/jfalcou/nt2/pulls/972/comments"},"review_comment":{"href":"https://api.github.com/repos/jfalcou/nt2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jfalcou/nt2/pulls/972/commits"},"statuses":{"href":"https://api.github.com/repos/jfalcou/nt2/statuses/31633d6da9641783815d5858ca70a31a8bf46372"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jfalcou","id":285977,"avatar_url":"https://avatars.githubusercontent.com/u/285977?v=3","gravatar_id":"","url":"https://api.github.com/users/jfalcou","html_url":"https://github.com/jfalcou","followers_url":"https://api.github.com/users/jfalcou/followers","following_url":"https://api.github.com/users/jfalcou/following{/other_user}","gists_url":"https://api.github.com/users/jfalcou/gists{/gist_id}","starred_url":"https://api.github.com/users/jfalcou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfalcou/subscriptions","organizations_url":"https://api.github.com/users/jfalcou/orgs","repos_url":"https://api.github.com/users/jfalcou/repos","events_url":"https://api.github.com/users/jfalcou/events{/privacy}","received_events_url":"https://api.github.com/users/jfalcou/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":3,"additions":49,"deletions":25,"changed_files":2}}