{"action":"closed","number":62,"pull_request":{"url":"https://api.github.com/repos/JuliaLang/Sundials.jl/pulls/62","id":61077066,"html_url":"https://github.com/JuliaLang/Sundials.jl/pull/62","diff_url":"https://github.com/JuliaLang/Sundials.jl/pull/62.diff","patch_url":"https://github.com/JuliaLang/Sundials.jl/pull/62.patch","issue_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/issues/62","number":62,"state":"closed","locked":false,"title":"Make high level wrappers check for errors, and make IDA initial value solver usable with idasol","user":{"login":"toivoh","id":1627007,"avatar_url":"https://avatars.githubusercontent.com/u/1627007?v=3","gravatar_id":"","url":"https://api.github.com/users/toivoh","html_url":"https://github.com/toivoh","followers_url":"https://api.github.com/users/toivoh/followers","following_url":"https://api.github.com/users/toivoh/following{/other_user}","gists_url":"https://api.github.com/users/toivoh/gists{/gist_id}","starred_url":"https://api.github.com/users/toivoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toivoh/subscriptions","organizations_url":"https://api.github.com/users/toivoh/orgs","repos_url":"https://api.github.com/users/toivoh/repos","events_url":"https://api.github.com/users/toivoh/events{/privacy}","received_events_url":"https://api.github.com/users/toivoh/received_events","type":"User","site_admin":false},"body":"This pull request contains two fixes:\r\n\r\n* Checking for errors within the high level wrappers `kinsol`, `cvode`, and `idasol`, and\r\n* Making it possible to use IDA's initial value solver with `idasol`\r\n\r\nThese aren't really related except for that they touch the same code, so please tell me if I should split up the pull request.\r\n\r\nThe function `idasol` calls IDA's `IDACalcIC` to calculate consistent initial conditions if the ones supplied arent't consistent up to the given accuracy. But `IDACalcIC` needs to know which states are differential states to be able to do this, and currently just returns with an error. This PR adds an optional boolean vector argument `diffstate` to `idasol` to be able to specify which states are algebraic (false) vs. differential (true), so that the initial value solver can actually be used through `idasol`.\r\n","created_at":"2016-02-29T13:25:31Z","updated_at":"2016-03-01T07:18:30Z","closed_at":"2016-03-01T07:18:30Z","merged_at":"2016-03-01T07:18:30Z","merge_commit_sha":"5dd360f00876371b6ed4356fb2c22d70e4b8e1c0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/pulls/62/commits","review_comments_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/pulls/62/comments","review_comment_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/issues/62/comments","statuses_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/statuses/1afdec851c405942cc5d9a2684cfdbb7aa53d4ac","head":{"label":"toivoh:fixes","ref":"fixes","sha":"1afdec851c405942cc5d9a2684cfdbb7aa53d4ac","user":{"login":"toivoh","id":1627007,"avatar_url":"https://avatars.githubusercontent.com/u/1627007?v=3","gravatar_id":"","url":"https://api.github.com/users/toivoh","html_url":"https://github.com/toivoh","followers_url":"https://api.github.com/users/toivoh/followers","following_url":"https://api.github.com/users/toivoh/following{/other_user}","gists_url":"https://api.github.com/users/toivoh/gists{/gist_id}","starred_url":"https://api.github.com/users/toivoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toivoh/subscriptions","organizations_url":"https://api.github.com/users/toivoh/orgs","repos_url":"https://api.github.com/users/toivoh/repos","events_url":"https://api.github.com/users/toivoh/events{/privacy}","received_events_url":"https://api.github.com/users/toivoh/received_events","type":"User","site_admin":false},"repo":{"id":52784420,"name":"Sundials.jl","full_name":"toivoh/Sundials.jl","owner":{"login":"toivoh","id":1627007,"avatar_url":"https://avatars.githubusercontent.com/u/1627007?v=3","gravatar_id":"","url":"https://api.github.com/users/toivoh","html_url":"https://github.com/toivoh","followers_url":"https://api.github.com/users/toivoh/followers","following_url":"https://api.github.com/users/toivoh/following{/other_user}","gists_url":"https://api.github.com/users/toivoh/gists{/gist_id}","starred_url":"https://api.github.com/users/toivoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toivoh/subscriptions","organizations_url":"https://api.github.com/users/toivoh/orgs","repos_url":"https://api.github.com/users/toivoh/repos","events_url":"https://api.github.com/users/toivoh/events{/privacy}","received_events_url":"https://api.github.com/users/toivoh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/toivoh/Sundials.jl","description":"Julia interface to Sundials, including a nonlinear solver (KINSOL), ODE's (CVODE), and DAE's (IDA).","fork":true,"url":"https://api.github.com/repos/toivoh/Sundials.jl","forks_url":"https://api.github.com/repos/toivoh/Sundials.jl/forks","keys_url":"https://api.github.com/repos/toivoh/Sundials.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/toivoh/Sundials.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/toivoh/Sundials.jl/teams","hooks_url":"https://api.github.com/repos/toivoh/Sundials.jl/hooks","issue_events_url":"https://api.github.com/repos/toivoh/Sundials.jl/issues/events{/number}","events_url":"https://api.github.com/repos/toivoh/Sundials.jl/events","assignees_url":"https://api.github.com/repos/toivoh/Sundials.jl/assignees{/user}","branches_url":"https://api.github.com/repos/toivoh/Sundials.jl/branches{/branch}","tags_url":"https://api.github.com/repos/toivoh/Sundials.jl/tags","blobs_url":"https://api.github.com/repos/toivoh/Sundials.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/toivoh/Sundials.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/toivoh/Sundials.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/toivoh/Sundials.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/toivoh/Sundials.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/toivoh/Sundials.jl/languages","stargazers_url":"https://api.github.com/repos/toivoh/Sundials.jl/stargazers","contributors_url":"https://api.github.com/repos/toivoh/Sundials.jl/contributors","subscribers_url":"https://api.github.com/repos/toivoh/Sundials.jl/subscribers","subscription_url":"https://api.github.com/repos/toivoh/Sundials.jl/subscription","commits_url":"https://api.github.com/repos/toivoh/Sundials.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/toivoh/Sundials.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/toivoh/Sundials.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/toivoh/Sundials.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/toivoh/Sundials.jl/contents/{+path}","compare_url":"https://api.github.com/repos/toivoh/Sundials.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/toivoh/Sundials.jl/merges","archive_url":"https://api.github.com/repos/toivoh/Sundials.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/toivoh/Sundials.jl/downloads","issues_url":"https://api.github.com/repos/toivoh/Sundials.jl/issues{/number}","pulls_url":"https://api.github.com/repos/toivoh/Sundials.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/toivoh/Sundials.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/toivoh/Sundials.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/toivoh/Sundials.jl/labels{/name}","releases_url":"https://api.github.com/repos/toivoh/Sundials.jl/releases{/id}","deployments_url":"https://api.github.com/repos/toivoh/Sundials.jl/deployments","created_at":"2016-02-29T10:53:44Z","updated_at":"2016-02-29T10:53:45Z","pushed_at":"2016-02-29T20:56:32Z","git_url":"git://github.com/toivoh/Sundials.jl.git","ssh_url":"git@github.com:toivoh/Sundials.jl.git","clone_url":"https://github.com/toivoh/Sundials.jl.git","svn_url":"https://github.com/toivoh/Sundials.jl","homepage":null,"size":141,"stargazers_count":0,"watchers_count":0,"language":"Julia","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"JuliaLang:master","ref":"master","sha":"0c5c61035895baeb4a40c510c416849975eab7dd","user":{"login":"JuliaLang","id":743164,"avatar_url":"https://avatars.githubusercontent.com/u/743164?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaLang","html_url":"https://github.com/JuliaLang","followers_url":"https://api.github.com/users/JuliaLang/followers","following_url":"https://api.github.com/users/JuliaLang/following{/other_user}","gists_url":"https://api.github.com/users/JuliaLang/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaLang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaLang/subscriptions","organizations_url":"https://api.github.com/users/JuliaLang/orgs","repos_url":"https://api.github.com/users/JuliaLang/repos","events_url":"https://api.github.com/users/JuliaLang/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaLang/received_events","type":"Organization","site_admin":false},"repo":{"id":8717090,"name":"Sundials.jl","full_name":"JuliaLang/Sundials.jl","owner":{"login":"JuliaLang","id":743164,"avatar_url":"https://avatars.githubusercontent.com/u/743164?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaLang","html_url":"https://github.com/JuliaLang","followers_url":"https://api.github.com/users/JuliaLang/followers","following_url":"https://api.github.com/users/JuliaLang/following{/other_user}","gists_url":"https://api.github.com/users/JuliaLang/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaLang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaLang/subscriptions","organizations_url":"https://api.github.com/users/JuliaLang/orgs","repos_url":"https://api.github.com/users/JuliaLang/repos","events_url":"https://api.github.com/users/JuliaLang/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaLang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JuliaLang/Sundials.jl","description":"Julia interface to Sundials, including a nonlinear solver (KINSOL), ODE's (CVODE), and DAE's (IDA).","fork":false,"url":"https://api.github.com/repos/JuliaLang/Sundials.jl","forks_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/forks","keys_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/teams","hooks_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/hooks","issue_events_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/issues/events{/number}","events_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/events","assignees_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/assignees{/user}","branches_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/branches{/branch}","tags_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/tags","blobs_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/languages","stargazers_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/stargazers","contributors_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/contributors","subscribers_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/subscribers","subscription_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/subscription","commits_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/contents/{+path}","compare_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/merges","archive_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/downloads","issues_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/issues{/number}","pulls_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/labels{/name}","releases_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/releases{/id}","deployments_url":"https://api.github.com/repos/JuliaLang/Sundials.jl/deployments","created_at":"2013-03-12T01:14:36Z","updated_at":"2016-02-23T17:13:21Z","pushed_at":"2016-03-01T07:18:30Z","git_url":"git://github.com/JuliaLang/Sundials.jl.git","ssh_url":"git@github.com:JuliaLang/Sundials.jl.git","clone_url":"https://github.com/JuliaLang/Sundials.jl.git","svn_url":"https://github.com/JuliaLang/Sundials.jl","homepage":null,"size":193,"stargazers_count":40,"watchers_count":40,"language":"Julia","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":19,"forks":28,"open_issues":19,"watchers":40,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JuliaLang/Sundials.jl/pulls/62"},"html":{"href":"https://github.com/JuliaLang/Sundials.jl/pull/62"},"issue":{"href":"https://api.github.com/repos/JuliaLang/Sundials.jl/issues/62"},"comments":{"href":"https://api.github.com/repos/JuliaLang/Sundials.jl/issues/62/comments"},"review_comments":{"href":"https://api.github.com/repos/JuliaLang/Sundials.jl/pulls/62/comments"},"review_comment":{"href":"https://api.github.com/repos/JuliaLang/Sundials.jl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JuliaLang/Sundials.jl/pulls/62/commits"},"statuses":{"href":"https://api.github.com/repos/JuliaLang/Sundials.jl/statuses/1afdec851c405942cc5d9a2684cfdbb7aa53d4ac"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"acroy","id":6170781,"avatar_url":"https://avatars.githubusercontent.com/u/6170781?v=3","gravatar_id":"","url":"https://api.github.com/users/acroy","html_url":"https://github.com/acroy","followers_url":"https://api.github.com/users/acroy/followers","following_url":"https://api.github.com/users/acroy/following{/other_user}","gists_url":"https://api.github.com/users/acroy/gists{/gist_id}","starred_url":"https://api.github.com/users/acroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acroy/subscriptions","organizations_url":"https://api.github.com/users/acroy/orgs","repos_url":"https://api.github.com/users/acroy/repos","events_url":"https://api.github.com/users/acroy/events{/privacy}","received_events_url":"https://api.github.com/users/acroy/received_events","type":"User","site_admin":false},"comments":11,"review_comments":2,"commits":1,"additions":94,"deletions":50,"changed_files":1}}