{"action":"created","comment":{"url":"https://api.github.com/repos/swift-nav/libswiftnav/pulls/comments/45123364","id":45123364,"diff_hunk":"@@ -11,12 +11,15 @@\n  */\n \n #include <math.h>\n+#include <assert.h>\n \n #include \"constants.h\"\n #include \"linear_algebra.h\"\n #include \"coord_system.h\"\n #include \"almanac.h\"\n \n+#define DAY_SECS (24*60*60)","path":"src/almanac.c","position":11,"original_position":11,"commit_id":"567e7d67b838c813d006251ae81d8039152efa8d","original_commit_id":"567e7d67b838c813d006251ae81d8039152efa8d","user":{"login":"fnoble","id":163239,"avatar_url":"https://avatars.githubusercontent.com/u/163239?v=3","gravatar_id":"","url":"https://api.github.com/users/fnoble","html_url":"https://github.com/fnoble","followers_url":"https://api.github.com/users/fnoble/followers","following_url":"https://api.github.com/users/fnoble/following{/other_user}","gists_url":"https://api.github.com/users/fnoble/gists{/gist_id}","starred_url":"https://api.github.com/users/fnoble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fnoble/subscriptions","organizations_url":"https://api.github.com/users/fnoble/orgs","repos_url":"https://api.github.com/users/fnoble/repos","events_url":"https://api.github.com/users/fnoble/events{/privacy}","received_events_url":"https://api.github.com/users/fnoble/received_events","type":"User","site_admin":false},"body":"move to contants.h","created_at":"2015-11-17T21:26:00Z","updated_at":"2015-11-17T21:26:00Z","html_url":"https://github.com/swift-nav/libswiftnav/pull/229#discussion_r45123364","pull_request_url":"https://api.github.com/repos/swift-nav/libswiftnav/pulls/229","_links":{"self":{"href":"https://api.github.com/repos/swift-nav/libswiftnav/pulls/comments/45123364"},"html":{"href":"https://github.com/swift-nav/libswiftnav/pull/229#discussion_r45123364"},"pull_request":{"href":"https://api.github.com/repos/swift-nav/libswiftnav/pulls/229"}}},"pull_request":{"url":"https://api.github.com/repos/swift-nav/libswiftnav/pulls/229","id":50985430,"html_url":"https://github.com/swift-nav/libswiftnav/pull/229","diff_url":"https://github.com/swift-nav/libswiftnav/pull/229.diff","patch_url":"https://github.com/swift-nav/libswiftnav/pull/229.patch","issue_url":"https://api.github.com/repos/swift-nav/libswiftnav/issues/229","number":229,"state":"open","locked":false,"title":"Generalisation of almanac for SBAS support.","user":{"login":"gsmcmullin","id":466364,"avatar_url":"https://avatars.githubusercontent.com/u/466364?v=3","gravatar_id":"","url":"https://api.github.com/users/gsmcmullin","html_url":"https://github.com/gsmcmullin","followers_url":"https://api.github.com/users/gsmcmullin/followers","following_url":"https://api.github.com/users/gsmcmullin/following{/other_user}","gists_url":"https://api.github.com/users/gsmcmullin/gists{/gist_id}","starred_url":"https://api.github.com/users/gsmcmullin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsmcmullin/subscriptions","organizations_url":"https://api.github.com/users/gsmcmullin/orgs","repos_url":"https://api.github.com/users/gsmcmullin/repos","events_url":"https://api.github.com/users/gsmcmullin/events{/privacy}","received_events_url":"https://api.github.com/users/gsmcmullin/received_events","type":"User","site_admin":false},"body":"/cc @jacobmcnamee ","created_at":"2015-11-17T18:33:09Z","updated_at":"2015-11-17T21:26:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"de814362f2f48f29e4bbec208261731b84f8ffeb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/swift-nav/libswiftnav/pulls/229/commits","review_comments_url":"https://api.github.com/repos/swift-nav/libswiftnav/pulls/229/comments","review_comment_url":"https://api.github.com/repos/swift-nav/libswiftnav/pulls/comments{/number}","comments_url":"https://api.github.com/repos/swift-nav/libswiftnav/issues/229/comments","statuses_url":"https://api.github.com/repos/swift-nav/libswiftnav/statuses/567e7d67b838c813d006251ae81d8039152efa8d","head":{"label":"gsmcmullin:sbas_almanac","ref":"sbas_almanac","sha":"567e7d67b838c813d006251ae81d8039152efa8d","user":{"login":"gsmcmullin","id":466364,"avatar_url":"https://avatars.githubusercontent.com/u/466364?v=3","gravatar_id":"","url":"https://api.github.com/users/gsmcmullin","html_url":"https://github.com/gsmcmullin","followers_url":"https://api.github.com/users/gsmcmullin/followers","following_url":"https://api.github.com/users/gsmcmullin/following{/other_user}","gists_url":"https://api.github.com/users/gsmcmullin/gists{/gist_id}","starred_url":"https://api.github.com/users/gsmcmullin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsmcmullin/subscriptions","organizations_url":"https://api.github.com/users/gsmcmullin/orgs","repos_url":"https://api.github.com/users/gsmcmullin/repos","events_url":"https://api.github.com/users/gsmcmullin/events{/privacy}","received_events_url":"https://api.github.com/users/gsmcmullin/received_events","type":"User","site_admin":false},"repo":{"id":16262687,"name":"libswiftnav","full_name":"gsmcmullin/libswiftnav","owner":{"login":"gsmcmullin","id":466364,"avatar_url":"https://avatars.githubusercontent.com/u/466364?v=3","gravatar_id":"","url":"https://api.github.com/users/gsmcmullin","html_url":"https://github.com/gsmcmullin","followers_url":"https://api.github.com/users/gsmcmullin/followers","following_url":"https://api.github.com/users/gsmcmullin/following{/other_user}","gists_url":"https://api.github.com/users/gsmcmullin/gists{/gist_id}","starred_url":"https://api.github.com/users/gsmcmullin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsmcmullin/subscriptions","organizations_url":"https://api.github.com/users/gsmcmullin/orgs","repos_url":"https://api.github.com/users/gsmcmullin/repos","events_url":"https://api.github.com/users/gsmcmullin/events{/privacy}","received_events_url":"https://api.github.com/users/gsmcmullin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gsmcmullin/libswiftnav","description":"A portable C library implementing GNSS related functions and algorithms.","fork":true,"url":"https://api.github.com/repos/gsmcmullin/libswiftnav","forks_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/forks","keys_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/teams","hooks_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/hooks","issue_events_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/issues/events{/number}","events_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/events","assignees_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/assignees{/user}","branches_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/branches{/branch}","tags_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/tags","blobs_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/git/refs{/sha}","trees_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/statuses/{sha}","languages_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/languages","stargazers_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/stargazers","contributors_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/contributors","subscribers_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/subscribers","subscription_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/subscription","commits_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/commits{/sha}","git_commits_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/git/commits{/sha}","comments_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/comments{/number}","issue_comment_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/issues/comments{/number}","contents_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/contents/{+path}","compare_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/merges","archive_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/downloads","issues_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/issues{/number}","pulls_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/pulls{/number}","milestones_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/milestones{/number}","notifications_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/labels{/name}","releases_url":"https://api.github.com/repos/gsmcmullin/libswiftnav/releases{/id}","created_at":"2014-01-26T21:53:55Z","updated_at":"2015-11-17T16:41:42Z","pushed_at":"2015-11-17T18:32:05Z","git_url":"git://github.com/gsmcmullin/libswiftnav.git","ssh_url":"git@github.com:gsmcmullin/libswiftnav.git","clone_url":"https://github.com/gsmcmullin/libswiftnav.git","svn_url":"https://github.com/gsmcmullin/libswiftnav","homepage":"","size":8050,"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":"swift-nav:master","ref":"master","sha":"2563d303987cc80ecb2489380b14f05396ee10b0","user":{"login":"swift-nav","id":1069835,"avatar_url":"https://avatars.githubusercontent.com/u/1069835?v=3","gravatar_id":"","url":"https://api.github.com/users/swift-nav","html_url":"https://github.com/swift-nav","followers_url":"https://api.github.com/users/swift-nav/followers","following_url":"https://api.github.com/users/swift-nav/following{/other_user}","gists_url":"https://api.github.com/users/swift-nav/gists{/gist_id}","starred_url":"https://api.github.com/users/swift-nav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swift-nav/subscriptions","organizations_url":"https://api.github.com/users/swift-nav/orgs","repos_url":"https://api.github.com/users/swift-nav/repos","events_url":"https://api.github.com/users/swift-nav/events{/privacy}","received_events_url":"https://api.github.com/users/swift-nav/received_events","type":"Organization","site_admin":false},"repo":{"id":7901696,"name":"libswiftnav","full_name":"swift-nav/libswiftnav","owner":{"login":"swift-nav","id":1069835,"avatar_url":"https://avatars.githubusercontent.com/u/1069835?v=3","gravatar_id":"","url":"https://api.github.com/users/swift-nav","html_url":"https://github.com/swift-nav","followers_url":"https://api.github.com/users/swift-nav/followers","following_url":"https://api.github.com/users/swift-nav/following{/other_user}","gists_url":"https://api.github.com/users/swift-nav/gists{/gist_id}","starred_url":"https://api.github.com/users/swift-nav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swift-nav/subscriptions","organizations_url":"https://api.github.com/users/swift-nav/orgs","repos_url":"https://api.github.com/users/swift-nav/repos","events_url":"https://api.github.com/users/swift-nav/events{/privacy}","received_events_url":"https://api.github.com/users/swift-nav/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/swift-nav/libswiftnav","description":"A portable C library implementing GNSS related functions and algorithms.","fork":false,"url":"https://api.github.com/repos/swift-nav/libswiftnav","forks_url":"https://api.github.com/repos/swift-nav/libswiftnav/forks","keys_url":"https://api.github.com/repos/swift-nav/libswiftnav/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swift-nav/libswiftnav/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swift-nav/libswiftnav/teams","hooks_url":"https://api.github.com/repos/swift-nav/libswiftnav/hooks","issue_events_url":"https://api.github.com/repos/swift-nav/libswiftnav/issues/events{/number}","events_url":"https://api.github.com/repos/swift-nav/libswiftnav/events","assignees_url":"https://api.github.com/repos/swift-nav/libswiftnav/assignees{/user}","branches_url":"https://api.github.com/repos/swift-nav/libswiftnav/branches{/branch}","tags_url":"https://api.github.com/repos/swift-nav/libswiftnav/tags","blobs_url":"https://api.github.com/repos/swift-nav/libswiftnav/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swift-nav/libswiftnav/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swift-nav/libswiftnav/git/refs{/sha}","trees_url":"https://api.github.com/repos/swift-nav/libswiftnav/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swift-nav/libswiftnav/statuses/{sha}","languages_url":"https://api.github.com/repos/swift-nav/libswiftnav/languages","stargazers_url":"https://api.github.com/repos/swift-nav/libswiftnav/stargazers","contributors_url":"https://api.github.com/repos/swift-nav/libswiftnav/contributors","subscribers_url":"https://api.github.com/repos/swift-nav/libswiftnav/subscribers","subscription_url":"https://api.github.com/repos/swift-nav/libswiftnav/subscription","commits_url":"https://api.github.com/repos/swift-nav/libswiftnav/commits{/sha}","git_commits_url":"https://api.github.com/repos/swift-nav/libswiftnav/git/commits{/sha}","comments_url":"https://api.github.com/repos/swift-nav/libswiftnav/comments{/number}","issue_comment_url":"https://api.github.com/repos/swift-nav/libswiftnav/issues/comments{/number}","contents_url":"https://api.github.com/repos/swift-nav/libswiftnav/contents/{+path}","compare_url":"https://api.github.com/repos/swift-nav/libswiftnav/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swift-nav/libswiftnav/merges","archive_url":"https://api.github.com/repos/swift-nav/libswiftnav/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swift-nav/libswiftnav/downloads","issues_url":"https://api.github.com/repos/swift-nav/libswiftnav/issues{/number}","pulls_url":"https://api.github.com/repos/swift-nav/libswiftnav/pulls{/number}","milestones_url":"https://api.github.com/repos/swift-nav/libswiftnav/milestones{/number}","notifications_url":"https://api.github.com/repos/swift-nav/libswiftnav/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swift-nav/libswiftnav/labels{/name}","releases_url":"https://api.github.com/repos/swift-nav/libswiftnav/releases{/id}","created_at":"2013-01-29T21:32:13Z","updated_at":"2015-11-11T10:49:17Z","pushed_at":"2015-11-17T20:21:49Z","git_url":"git://github.com/swift-nav/libswiftnav.git","ssh_url":"git@github.com:swift-nav/libswiftnav.git","clone_url":"https://github.com/swift-nav/libswiftnav.git","svn_url":"https://github.com/swift-nav/libswiftnav","homepage":"","size":9271,"stargazers_count":44,"watchers_count":44,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":50,"mirror_url":null,"open_issues_count":61,"forks":50,"open_issues":61,"watchers":44,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/swift-nav/libswiftnav/pulls/229"},"html":{"href":"https://github.com/swift-nav/libswiftnav/pull/229"},"issue":{"href":"https://api.github.com/repos/swift-nav/libswiftnav/issues/229"},"comments":{"href":"https://api.github.com/repos/swift-nav/libswiftnav/issues/229/comments"},"review_comments":{"href":"https://api.github.com/repos/swift-nav/libswiftnav/pulls/229/comments"},"review_comment":{"href":"https://api.github.com/repos/swift-nav/libswiftnav/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/swift-nav/libswiftnav/pulls/229/commits"},"statuses":{"href":"https://api.github.com/repos/swift-nav/libswiftnav/statuses/567e7d67b838c813d006251ae81d8039152efa8d"}}}}