{"action":"created","issue":{"url":"https://api.github.com/repos/OPM/opm-material/issues/127","repository_url":"https://api.github.com/repos/OPM/opm-material","labels_url":"https://api.github.com/repos/OPM/opm-material/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/OPM/opm-material/issues/127/comments","events_url":"https://api.github.com/repos/OPM/opm-material/issues/127/events","html_url":"https://github.com/OPM/opm-material/pull/127","id":134864322,"number":127,"title":"black-oil PVT: bail out from trying to initialize PVT objects for inactive phases","user":{"login":"andlaus","id":1837735,"avatar_url":"https://avatars.githubusercontent.com/u/1837735?v=3","gravatar_id":"","url":"https://api.github.com/users/andlaus","html_url":"https://github.com/andlaus","followers_url":"https://api.github.com/users/andlaus/followers","following_url":"https://api.github.com/users/andlaus/following{/other_user}","gists_url":"https://api.github.com/users/andlaus/gists{/gist_id}","starred_url":"https://api.github.com/users/andlaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andlaus/subscriptions","organizations_url":"https://api.github.com/users/andlaus/orgs","repos_url":"https://api.github.com/users/andlaus/repos","events_url":"https://api.github.com/users/andlaus/events{/privacy}","received_events_url":"https://api.github.com/users/andlaus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-02-19T13:26:08Z","updated_at":"2016-02-22T09:05:29Z","closed_at":"2016-02-21T17:05:13Z","pull_request":{"url":"https://api.github.com/repos/OPM/opm-material/pulls/127","html_url":"https://github.com/OPM/opm-material/pull/127","diff_url":"https://github.com/OPM/opm-material/pull/127.diff","patch_url":"https://github.com/OPM/opm-material/pull/127.patch"},"body":"this should fix twophase decks, see\r\nhttps://github.com/OPM/opm-autodiff/pull/576#issuecomment-185770114."},"comment":{"url":"https://api.github.com/repos/OPM/opm-material/issues/comments/187081052","html_url":"https://github.com/OPM/opm-material/pull/127#issuecomment-187081052","issue_url":"https://api.github.com/repos/OPM/opm-material/issues/127","id":187081052,"user":{"login":"GitPaean","id":6847941,"avatar_url":"https://avatars.githubusercontent.com/u/6847941?v=3","gravatar_id":"","url":"https://api.github.com/users/GitPaean","html_url":"https://github.com/GitPaean","followers_url":"https://api.github.com/users/GitPaean/followers","following_url":"https://api.github.com/users/GitPaean/following{/other_user}","gists_url":"https://api.github.com/users/GitPaean/gists{/gist_id}","starred_url":"https://api.github.com/users/GitPaean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GitPaean/subscriptions","organizations_url":"https://api.github.com/users/GitPaean/orgs","repos_url":"https://api.github.com/users/GitPaean/repos","events_url":"https://api.github.com/users/GitPaean/events{/privacy}","received_events_url":"https://api.github.com/users/GitPaean/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T09:05:29Z","updated_at":"2016-02-22T09:05:29Z","body":"Yes. I mean the init code. It can be confusing to people to see `gasPvt_->initFromDeck` while actually nothing happened there and `gasPvt_` is not usable at all. \r\n\r\nIt can be more explicit and clear to do \r\n\r\n```\r\nif gas is required\r\n    gasPvt_->initFromDeck    \r\n```\r\n\r\nAnyway, I do not think it is something very important. "}}