{"action":"closed","number":1116,"pull_request":{"url":"https://api.github.com/repos/openmc-dev/openmc/pulls/1116","id":228050529,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4MDUwNTI5","html_url":"https://github.com/openmc-dev/openmc/pull/1116","diff_url":"https://github.com/openmc-dev/openmc/pull/1116.diff","patch_url":"https://github.com/openmc-dev/openmc/pull/1116.patch","issue_url":"https://api.github.com/repos/openmc-dev/openmc/issues/1116","number":1116,"state":"closed","locked":false,"title":"Fix array IndexOutofbounds crash when a input material is never used for MG mode","user":{"login":"liangjg","id":3030455,"node_id":"MDQ6VXNlcjMwMzA0NTU=","avatar_url":"https://avatars3.githubusercontent.com/u/3030455?v=4","gravatar_id":"","url":"https://api.github.com/users/liangjg","html_url":"https://github.com/liangjg","followers_url":"https://api.github.com/users/liangjg/followers","following_url":"https://api.github.com/users/liangjg/following{/other_user}","gists_url":"https://api.github.com/users/liangjg/gists{/gist_id}","starred_url":"https://api.github.com/users/liangjg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liangjg/subscriptions","organizations_url":"https://api.github.com/users/liangjg/orgs","repos_url":"https://api.github.com/users/liangjg/repos","events_url":"https://api.github.com/users/liangjg/events{/privacy}","received_events_url":"https://api.github.com/users/liangjg/received_events","type":"User","site_admin":false},"body":"@wuwenbin2006 reported this bug. Since #1016, we use `push_back` instead of `allocate` to initialize the `macro_xs` array. However, the array length should be equal to the number of materials, though we do not need to load the materials which we do not actually use in the problem.","created_at":"2018-11-02T20:27:01Z","updated_at":"2018-11-03T12:51:13Z","closed_at":"2018-11-03T12:51:13Z","merged_at":"2018-11-03T12:51:13Z","merge_commit_sha":"172868e6ff2edc68e233b7ab7858cadb8052a154","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/openmc-dev/openmc/pulls/1116/commits","review_comments_url":"https://api.github.com/repos/openmc-dev/openmc/pulls/1116/comments","review_comment_url":"https://api.github.com/repos/openmc-dev/openmc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openmc-dev/openmc/issues/1116/comments","statuses_url":"https://api.github.com/repos/openmc-dev/openmc/statuses/293a114a1ad5db1e1293534674111a99362716ef","head":{"label":"liangjg:mgxs_fix","ref":"mgxs_fix","sha":"293a114a1ad5db1e1293534674111a99362716ef","user":{"login":"liangjg","id":3030455,"node_id":"MDQ6VXNlcjMwMzA0NTU=","avatar_url":"https://avatars3.githubusercontent.com/u/3030455?v=4","gravatar_id":"","url":"https://api.github.com/users/liangjg","html_url":"https://github.com/liangjg","followers_url":"https://api.github.com/users/liangjg/followers","following_url":"https://api.github.com/users/liangjg/following{/other_user}","gists_url":"https://api.github.com/users/liangjg/gists{/gist_id}","starred_url":"https://api.github.com/users/liangjg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liangjg/subscriptions","organizations_url":"https://api.github.com/users/liangjg/orgs","repos_url":"https://api.github.com/users/liangjg/repos","events_url":"https://api.github.com/users/liangjg/events{/privacy}","received_events_url":"https://api.github.com/users/liangjg/received_events","type":"User","site_admin":false},"repo":{"id":44394628,"node_id":"MDEwOlJlcG9zaXRvcnk0NDM5NDYyOA==","name":"openmc","full_name":"liangjg/openmc","private":false,"owner":{"login":"liangjg","id":3030455,"node_id":"MDQ6VXNlcjMwMzA0NTU=","avatar_url":"https://avatars3.githubusercontent.com/u/3030455?v=4","gravatar_id":"","url":"https://api.github.com/users/liangjg","html_url":"https://github.com/liangjg","followers_url":"https://api.github.com/users/liangjg/followers","following_url":"https://api.github.com/users/liangjg/following{/other_user}","gists_url":"https://api.github.com/users/liangjg/gists{/gist_id}","starred_url":"https://api.github.com/users/liangjg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liangjg/subscriptions","organizations_url":"https://api.github.com/users/liangjg/orgs","repos_url":"https://api.github.com/users/liangjg/repos","events_url":"https://api.github.com/users/liangjg/events{/privacy}","received_events_url":"https://api.github.com/users/liangjg/received_events","type":"User","site_admin":false},"html_url":"https://github.com/liangjg/openmc","description":"OpenMC Monte Carlo Code","fork":true,"url":"https://api.github.com/repos/liangjg/openmc","forks_url":"https://api.github.com/repos/liangjg/openmc/forks","keys_url":"https://api.github.com/repos/liangjg/openmc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/liangjg/openmc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/liangjg/openmc/teams","hooks_url":"https://api.github.com/repos/liangjg/openmc/hooks","issue_events_url":"https://api.github.com/repos/liangjg/openmc/issues/events{/number}","events_url":"https://api.github.com/repos/liangjg/openmc/events","assignees_url":"https://api.github.com/repos/liangjg/openmc/assignees{/user}","branches_url":"https://api.github.com/repos/liangjg/openmc/branches{/branch}","tags_url":"https://api.github.com/repos/liangjg/openmc/tags","blobs_url":"https://api.github.com/repos/liangjg/openmc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/liangjg/openmc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/liangjg/openmc/git/refs{/sha}","trees_url":"https://api.github.com/repos/liangjg/openmc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/liangjg/openmc/statuses/{sha}","languages_url":"https://api.github.com/repos/liangjg/openmc/languages","stargazers_url":"https://api.github.com/repos/liangjg/openmc/stargazers","contributors_url":"https://api.github.com/repos/liangjg/openmc/contributors","subscribers_url":"https://api.github.com/repos/liangjg/openmc/subscribers","subscription_url":"https://api.github.com/repos/liangjg/openmc/subscription","commits_url":"https://api.github.com/repos/liangjg/openmc/commits{/sha}","git_commits_url":"https://api.github.com/repos/liangjg/openmc/git/commits{/sha}","comments_url":"https://api.github.com/repos/liangjg/openmc/comments{/number}","issue_comment_url":"https://api.github.com/repos/liangjg/openmc/issues/comments{/number}","contents_url":"https://api.github.com/repos/liangjg/openmc/contents/{+path}","compare_url":"https://api.github.com/repos/liangjg/openmc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/liangjg/openmc/merges","archive_url":"https://api.github.com/repos/liangjg/openmc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/liangjg/openmc/downloads","issues_url":"https://api.github.com/repos/liangjg/openmc/issues{/number}","pulls_url":"https://api.github.com/repos/liangjg/openmc/pulls{/number}","milestones_url":"https://api.github.com/repos/liangjg/openmc/milestones{/number}","notifications_url":"https://api.github.com/repos/liangjg/openmc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/liangjg/openmc/labels{/name}","releases_url":"https://api.github.com/repos/liangjg/openmc/releases{/id}","deployments_url":"https://api.github.com/repos/liangjg/openmc/deployments","created_at":"2015-10-16T15:39:06Z","updated_at":"2018-10-31T14:49:43Z","pushed_at":"2018-11-02T20:07:12Z","git_url":"git://github.com/liangjg/openmc.git","ssh_url":"git@github.com:liangjg/openmc.git","clone_url":"https://github.com/liangjg/openmc.git","svn_url":"https://github.com/liangjg/openmc","homepage":"http://mit-crpg.github.io/openmc/","size":46462,"stargazers_count":0,"watchers_count":0,"language":"Python","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":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"openmc-dev:develop","ref":"develop","sha":"548d41c6af8cb93bdec26ab55610d69b543ff99a","user":{"login":"openmc-dev","id":42039615,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQyMDM5NjE1","avatar_url":"https://avatars3.githubusercontent.com/u/42039615?v=4","gravatar_id":"","url":"https://api.github.com/users/openmc-dev","html_url":"https://github.com/openmc-dev","followers_url":"https://api.github.com/users/openmc-dev/followers","following_url":"https://api.github.com/users/openmc-dev/following{/other_user}","gists_url":"https://api.github.com/users/openmc-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/openmc-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmc-dev/subscriptions","organizations_url":"https://api.github.com/users/openmc-dev/orgs","repos_url":"https://api.github.com/users/openmc-dev/repos","events_url":"https://api.github.com/users/openmc-dev/events{/privacy}","received_events_url":"https://api.github.com/users/openmc-dev/received_events","type":"Organization","site_admin":false},"repo":{"id":2081118,"node_id":"MDEwOlJlcG9zaXRvcnkyMDgxMTE4","name":"openmc","full_name":"openmc-dev/openmc","private":false,"owner":{"login":"openmc-dev","id":42039615,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQyMDM5NjE1","avatar_url":"https://avatars3.githubusercontent.com/u/42039615?v=4","gravatar_id":"","url":"https://api.github.com/users/openmc-dev","html_url":"https://github.com/openmc-dev","followers_url":"https://api.github.com/users/openmc-dev/followers","following_url":"https://api.github.com/users/openmc-dev/following{/other_user}","gists_url":"https://api.github.com/users/openmc-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/openmc-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmc-dev/subscriptions","organizations_url":"https://api.github.com/users/openmc-dev/orgs","repos_url":"https://api.github.com/users/openmc-dev/repos","events_url":"https://api.github.com/users/openmc-dev/events{/privacy}","received_events_url":"https://api.github.com/users/openmc-dev/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/openmc-dev/openmc","description":"OpenMC Monte Carlo Code","fork":false,"url":"https://api.github.com/repos/openmc-dev/openmc","forks_url":"https://api.github.com/repos/openmc-dev/openmc/forks","keys_url":"https://api.github.com/repos/openmc-dev/openmc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openmc-dev/openmc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openmc-dev/openmc/teams","hooks_url":"https://api.github.com/repos/openmc-dev/openmc/hooks","issue_events_url":"https://api.github.com/repos/openmc-dev/openmc/issues/events{/number}","events_url":"https://api.github.com/repos/openmc-dev/openmc/events","assignees_url":"https://api.github.com/repos/openmc-dev/openmc/assignees{/user}","branches_url":"https://api.github.com/repos/openmc-dev/openmc/branches{/branch}","tags_url":"https://api.github.com/repos/openmc-dev/openmc/tags","blobs_url":"https://api.github.com/repos/openmc-dev/openmc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openmc-dev/openmc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openmc-dev/openmc/git/refs{/sha}","trees_url":"https://api.github.com/repos/openmc-dev/openmc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openmc-dev/openmc/statuses/{sha}","languages_url":"https://api.github.com/repos/openmc-dev/openmc/languages","stargazers_url":"https://api.github.com/repos/openmc-dev/openmc/stargazers","contributors_url":"https://api.github.com/repos/openmc-dev/openmc/contributors","subscribers_url":"https://api.github.com/repos/openmc-dev/openmc/subscribers","subscription_url":"https://api.github.com/repos/openmc-dev/openmc/subscription","commits_url":"https://api.github.com/repos/openmc-dev/openmc/commits{/sha}","git_commits_url":"https://api.github.com/repos/openmc-dev/openmc/git/commits{/sha}","comments_url":"https://api.github.com/repos/openmc-dev/openmc/comments{/number}","issue_comment_url":"https://api.github.com/repos/openmc-dev/openmc/issues/comments{/number}","contents_url":"https://api.github.com/repos/openmc-dev/openmc/contents/{+path}","compare_url":"https://api.github.com/repos/openmc-dev/openmc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openmc-dev/openmc/merges","archive_url":"https://api.github.com/repos/openmc-dev/openmc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openmc-dev/openmc/downloads","issues_url":"https://api.github.com/repos/openmc-dev/openmc/issues{/number}","pulls_url":"https://api.github.com/repos/openmc-dev/openmc/pulls{/number}","milestones_url":"https://api.github.com/repos/openmc-dev/openmc/milestones{/number}","notifications_url":"https://api.github.com/repos/openmc-dev/openmc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openmc-dev/openmc/labels{/name}","releases_url":"https://api.github.com/repos/openmc-dev/openmc/releases{/id}","deployments_url":"https://api.github.com/repos/openmc-dev/openmc/deployments","created_at":"2011-07-21T00:33:27Z","updated_at":"2018-11-01T12:00:22Z","pushed_at":"2018-11-03T12:51:13Z","git_url":"git://github.com/openmc-dev/openmc.git","ssh_url":"git@github.com:openmc-dev/openmc.git","clone_url":"https://github.com/openmc-dev/openmc.git","svn_url":"https://github.com/openmc-dev/openmc","homepage":"http://openmc.readthedocs.io/","size":45897,"stargazers_count":168,"watchers_count":168,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":161,"mirror_url":null,"archived":false,"open_issues_count":75,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":161,"open_issues":75,"watchers":168,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/openmc-dev/openmc/pulls/1116"},"html":{"href":"https://github.com/openmc-dev/openmc/pull/1116"},"issue":{"href":"https://api.github.com/repos/openmc-dev/openmc/issues/1116"},"comments":{"href":"https://api.github.com/repos/openmc-dev/openmc/issues/1116/comments"},"review_comments":{"href":"https://api.github.com/repos/openmc-dev/openmc/pulls/1116/comments"},"review_comment":{"href":"https://api.github.com/repos/openmc-dev/openmc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openmc-dev/openmc/pulls/1116/commits"},"statuses":{"href":"https://api.github.com/repos/openmc-dev/openmc/statuses/293a114a1ad5db1e1293534674111a99362716ef"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"nelsonag","id":1037107,"node_id":"MDQ6VXNlcjEwMzcxMDc=","avatar_url":"https://avatars3.githubusercontent.com/u/1037107?v=4","gravatar_id":"","url":"https://api.github.com/users/nelsonag","html_url":"https://github.com/nelsonag","followers_url":"https://api.github.com/users/nelsonag/followers","following_url":"https://api.github.com/users/nelsonag/following{/other_user}","gists_url":"https://api.github.com/users/nelsonag/gists{/gist_id}","starred_url":"https://api.github.com/users/nelsonag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nelsonag/subscriptions","organizations_url":"https://api.github.com/users/nelsonag/orgs","repos_url":"https://api.github.com/users/nelsonag/repos","events_url":"https://api.github.com/users/nelsonag/events{/privacy}","received_events_url":"https://api.github.com/users/nelsonag/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":3,"deletions":7,"changed_files":1}}
{"actor":{"display_login":"nelsonag"}}