{"action":"closed","number":110,"pull_request":{"url":"https://api.github.com/repos/jeff-regier/Celeste.jl/pulls/110","id":58484409,"html_url":"https://github.com/jeff-regier/Celeste.jl/pull/110","diff_url":"https://github.com/jeff-regier/Celeste.jl/pull/110.diff","patch_url":"https://github.com/jeff-regier/Celeste.jl/pull/110.patch","issue_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/issues/110","number":110,"state":"closed","locked":false,"title":"define DualType before the compiler needs it","user":{"login":"jeff-regier","id":8953355,"avatar_url":"https://avatars.githubusercontent.com/u/8953355?v=3","gravatar_id":"","url":"https://api.github.com/users/jeff-regier","html_url":"https://github.com/jeff-regier","followers_url":"https://api.github.com/users/jeff-regier/followers","following_url":"https://api.github.com/users/jeff-regier/following{/other_user}","gists_url":"https://api.github.com/users/jeff-regier/gists{/gist_id}","starred_url":"https://api.github.com/users/jeff-regier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeff-regier/subscriptions","organizations_url":"https://api.github.com/users/jeff-regier/orgs","repos_url":"https://api.github.com/users/jeff-regier/repos","events_url":"https://api.github.com/users/jeff-regier/events{/privacy}","received_events_url":"https://api.github.com/users/jeff-regier/received_events","type":"User","site_admin":false},"body":"@kpamnany @rgiordan -- Evidently in Julila 0.5 we can't count on assignment of DualType (at run time) happening before the functions that use it are compiled (at  compile time). That seems reasonable. This PR defines DualType at the module's top level.","created_at":"2016-02-05T21:07:00Z","updated_at":"2016-02-06T20:32:31Z","closed_at":"2016-02-06T20:32:31Z","merged_at":null,"merge_commit_sha":"7baaa9984022a243a7649805464667f26493c8d3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/pulls/110/commits","review_comments_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/pulls/110/comments","review_comment_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/issues/110/comments","statuses_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/statuses/2b7ad9091821020105bc4bcc309ce6ad837bcbfe","head":{"label":"jeff-regier:fix_dualtype","ref":"fix_dualtype","sha":"2b7ad9091821020105bc4bcc309ce6ad837bcbfe","user":{"login":"jeff-regier","id":8953355,"avatar_url":"https://avatars.githubusercontent.com/u/8953355?v=3","gravatar_id":"","url":"https://api.github.com/users/jeff-regier","html_url":"https://github.com/jeff-regier","followers_url":"https://api.github.com/users/jeff-regier/followers","following_url":"https://api.github.com/users/jeff-regier/following{/other_user}","gists_url":"https://api.github.com/users/jeff-regier/gists{/gist_id}","starred_url":"https://api.github.com/users/jeff-regier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeff-regier/subscriptions","organizations_url":"https://api.github.com/users/jeff-regier/orgs","repos_url":"https://api.github.com/users/jeff-regier/repos","events_url":"https://api.github.com/users/jeff-regier/events{/privacy}","received_events_url":"https://api.github.com/users/jeff-regier/received_events","type":"User","site_admin":false},"repo":{"id":28730928,"name":"Celeste.jl","full_name":"jeff-regier/Celeste.jl","owner":{"login":"jeff-regier","id":8953355,"avatar_url":"https://avatars.githubusercontent.com/u/8953355?v=3","gravatar_id":"","url":"https://api.github.com/users/jeff-regier","html_url":"https://github.com/jeff-regier","followers_url":"https://api.github.com/users/jeff-regier/followers","following_url":"https://api.github.com/users/jeff-regier/following{/other_user}","gists_url":"https://api.github.com/users/jeff-regier/gists{/gist_id}","starred_url":"https://api.github.com/users/jeff-regier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeff-regier/subscriptions","organizations_url":"https://api.github.com/users/jeff-regier/orgs","repos_url":"https://api.github.com/users/jeff-regier/repos","events_url":"https://api.github.com/users/jeff-regier/events{/privacy}","received_events_url":"https://api.github.com/users/jeff-regier/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeff-regier/Celeste.jl","description":"Scalable inference for a generative model of astronomical images","fork":false,"url":"https://api.github.com/repos/jeff-regier/Celeste.jl","forks_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/forks","keys_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/teams","hooks_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/hooks","issue_events_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/issues/events{/number}","events_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/events","assignees_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/assignees{/user}","branches_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/branches{/branch}","tags_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/tags","blobs_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/languages","stargazers_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/stargazers","contributors_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/contributors","subscribers_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/subscribers","subscription_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/subscription","commits_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/contents/{+path}","compare_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/merges","archive_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/downloads","issues_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/issues{/number}","pulls_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/labels{/name}","releases_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/releases{/id}","deployments_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/deployments","created_at":"2015-01-03T00:47:34Z","updated_at":"2016-01-22T03:24:19Z","pushed_at":"2016-02-06T19:17:03Z","git_url":"git://github.com/jeff-regier/Celeste.jl.git","ssh_url":"git@github.com:jeff-regier/Celeste.jl.git","clone_url":"https://github.com/jeff-regier/Celeste.jl.git","svn_url":"https://github.com/jeff-regier/Celeste.jl","homepage":"","size":55786,"stargazers_count":1,"watchers_count":1,"language":"Julia","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":15,"forks":4,"open_issues":15,"watchers":1,"default_branch":"master"}},"base":{"label":"jeff-regier:master","ref":"master","sha":"80900958c8b05fb7f729f1f14cca1dec779d8752","user":{"login":"jeff-regier","id":8953355,"avatar_url":"https://avatars.githubusercontent.com/u/8953355?v=3","gravatar_id":"","url":"https://api.github.com/users/jeff-regier","html_url":"https://github.com/jeff-regier","followers_url":"https://api.github.com/users/jeff-regier/followers","following_url":"https://api.github.com/users/jeff-regier/following{/other_user}","gists_url":"https://api.github.com/users/jeff-regier/gists{/gist_id}","starred_url":"https://api.github.com/users/jeff-regier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeff-regier/subscriptions","organizations_url":"https://api.github.com/users/jeff-regier/orgs","repos_url":"https://api.github.com/users/jeff-regier/repos","events_url":"https://api.github.com/users/jeff-regier/events{/privacy}","received_events_url":"https://api.github.com/users/jeff-regier/received_events","type":"User","site_admin":false},"repo":{"id":28730928,"name":"Celeste.jl","full_name":"jeff-regier/Celeste.jl","owner":{"login":"jeff-regier","id":8953355,"avatar_url":"https://avatars.githubusercontent.com/u/8953355?v=3","gravatar_id":"","url":"https://api.github.com/users/jeff-regier","html_url":"https://github.com/jeff-regier","followers_url":"https://api.github.com/users/jeff-regier/followers","following_url":"https://api.github.com/users/jeff-regier/following{/other_user}","gists_url":"https://api.github.com/users/jeff-regier/gists{/gist_id}","starred_url":"https://api.github.com/users/jeff-regier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeff-regier/subscriptions","organizations_url":"https://api.github.com/users/jeff-regier/orgs","repos_url":"https://api.github.com/users/jeff-regier/repos","events_url":"https://api.github.com/users/jeff-regier/events{/privacy}","received_events_url":"https://api.github.com/users/jeff-regier/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeff-regier/Celeste.jl","description":"Scalable inference for a generative model of astronomical images","fork":false,"url":"https://api.github.com/repos/jeff-regier/Celeste.jl","forks_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/forks","keys_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/teams","hooks_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/hooks","issue_events_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/issues/events{/number}","events_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/events","assignees_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/assignees{/user}","branches_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/branches{/branch}","tags_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/tags","blobs_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/languages","stargazers_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/stargazers","contributors_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/contributors","subscribers_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/subscribers","subscription_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/subscription","commits_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/contents/{+path}","compare_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/merges","archive_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/downloads","issues_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/issues{/number}","pulls_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/labels{/name}","releases_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/releases{/id}","deployments_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/deployments","created_at":"2015-01-03T00:47:34Z","updated_at":"2016-01-22T03:24:19Z","pushed_at":"2016-02-06T19:17:03Z","git_url":"git://github.com/jeff-regier/Celeste.jl.git","ssh_url":"git@github.com:jeff-regier/Celeste.jl.git","clone_url":"https://github.com/jeff-regier/Celeste.jl.git","svn_url":"https://github.com/jeff-regier/Celeste.jl","homepage":"","size":55786,"stargazers_count":1,"watchers_count":1,"language":"Julia","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":15,"forks":4,"open_issues":15,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jeff-regier/Celeste.jl/pulls/110"},"html":{"href":"https://github.com/jeff-regier/Celeste.jl/pull/110"},"issue":{"href":"https://api.github.com/repos/jeff-regier/Celeste.jl/issues/110"},"comments":{"href":"https://api.github.com/repos/jeff-regier/Celeste.jl/issues/110/comments"},"review_comments":{"href":"https://api.github.com/repos/jeff-regier/Celeste.jl/pulls/110/comments"},"review_comment":{"href":"https://api.github.com/repos/jeff-regier/Celeste.jl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jeff-regier/Celeste.jl/pulls/110/commits"},"statuses":{"href":"https://api.github.com/repos/jeff-regier/Celeste.jl/statuses/2b7ad9091821020105bc4bcc309ce6ad837bcbfe"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":4,"review_comments":0,"commits":2,"additions":2,"deletions":87,"changed_files":8}}