{"action":"created","issue":{"url":"https://api.github.com/repos/Theano/Theano/issues/3470","labels_url":"https://api.github.com/repos/Theano/Theano/issues/3470/labels{/name}","comments_url":"https://api.github.com/repos/Theano/Theano/issues/3470/comments","events_url":"https://api.github.com/repos/Theano/Theano/issues/3470/events","html_url":"https://github.com/Theano/Theano/pull/3470","id":108976139,"number":3470,"title":"Use make_new_inplace mechanism to fix optimization with cast","user":{"login":"lamblin","id":178249,"avatar_url":"https://avatars.githubusercontent.com/u/178249?v=3","gravatar_id":"","url":"https://api.github.com/users/lamblin","html_url":"https://github.com/lamblin","followers_url":"https://api.github.com/users/lamblin/followers","following_url":"https://api.github.com/users/lamblin/following{/other_user}","gists_url":"https://api.github.com/users/lamblin/gists{/gist_id}","starred_url":"https://api.github.com/users/lamblin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lamblin/subscriptions","organizations_url":"https://api.github.com/users/lamblin/orgs","repos_url":"https://api.github.com/users/lamblin/repos","events_url":"https://api.github.com/users/lamblin/events{/privacy}","received_events_url":"https://api.github.com/users/lamblin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-29T22:52:51Z","updated_at":"2015-09-29T23:00:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Theano/Theano/pulls/3470","html_url":"https://github.com/Theano/Theano/pull/3470","diff_url":"https://github.com/Theano/Theano/pull/3470.diff","patch_url":"https://github.com/Theano/Theano/pull/3470.patch"},"body":"To be tested as I don't have a case to reproduce it.\r\nAlso, this case should only be triggered when both input and output of the cast have the same dtype, so maybe this node should be removed altogether earlier on."},"comment":{"url":"https://api.github.com/repos/Theano/Theano/issues/comments/144215262","html_url":"https://github.com/Theano/Theano/pull/3470#issuecomment-144215262","issue_url":"https://api.github.com/repos/Theano/Theano/issues/3470","id":144215262,"user":{"login":"nouiz","id":180987,"avatar_url":"https://avatars.githubusercontent.com/u/180987?v=3","gravatar_id":"","url":"https://api.github.com/users/nouiz","html_url":"https://github.com/nouiz","followers_url":"https://api.github.com/users/nouiz/followers","following_url":"https://api.github.com/users/nouiz/following{/other_user}","gists_url":"https://api.github.com/users/nouiz/gists{/gist_id}","starred_url":"https://api.github.com/users/nouiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nouiz/subscriptions","organizations_url":"https://api.github.com/users/nouiz/orgs","repos_url":"https://api.github.com/users/nouiz/repos","events_url":"https://api.github.com/users/nouiz/events{/privacy}","received_events_url":"https://api.github.com/users/nouiz/received_events","type":"User","site_admin":false},"created_at":"2015-09-29T23:00:03Z","updated_at":"2015-09-29T23:00:03Z","body":"We can merge when travis pass and the users confirmed that it fix their problem. Ideally, we should test this."}}