{"action":"opened","number":40,"pull_request":{"url":"https://api.github.com/repos/deepmind/torch-totem/pulls/40","id":41365739,"html_url":"https://github.com/deepmind/torch-totem/pull/40","diff_url":"https://github.com/deepmind/torch-totem/pull/40.diff","patch_url":"https://github.com/deepmind/torch-totem/pull/40.patch","issue_url":"https://api.github.com/repos/deepmind/torch-totem/issues/40","number":40,"state":"open","locked":false,"title":"Allow differently typed tensors within modules","user":{"login":"GeorgOstrovski","id":6409187,"avatar_url":"https://avatars.githubusercontent.com/u/6409187?v=3","gravatar_id":"","url":"https://api.github.com/users/GeorgOstrovski","html_url":"https://github.com/GeorgOstrovski","followers_url":"https://api.github.com/users/GeorgOstrovski/followers","following_url":"https://api.github.com/users/GeorgOstrovski/following{/other_user}","gists_url":"https://api.github.com/users/GeorgOstrovski/gists{/gist_id}","starred_url":"https://api.github.com/users/GeorgOstrovski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GeorgOstrovski/subscriptions","organizations_url":"https://api.github.com/users/GeorgOstrovski/orgs","repos_url":"https://api.github.com/users/GeorgOstrovski/repos","events_url":"https://api.github.com/users/GeorgOstrovski/events{/privacy}","received_events_url":"https://api.github.com/users/GeorgOstrovski/received_events","type":"User","site_admin":false},"body":"The new lua-only implementations of e.g. nn.Min and Max, and modules derived from these, have for instance LongTensor member variables (for indices). They then fail typecast checks.","created_at":"2015-07-31T18:12:02Z","updated_at":"2015-07-31T18:12:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/deepmind/torch-totem/pulls/40/commits","review_comments_url":"https://api.github.com/repos/deepmind/torch-totem/pulls/40/comments","review_comment_url":"https://api.github.com/repos/deepmind/torch-totem/pulls/comments{/number}","comments_url":"https://api.github.com/repos/deepmind/torch-totem/issues/40/comments","statuses_url":"https://api.github.com/repos/deepmind/torch-totem/statuses/3a68c2c4e785210b907dca2011f1d5747647bd37","head":{"label":"GeorgOstrovski:patch-1","ref":"patch-1","sha":"3a68c2c4e785210b907dca2011f1d5747647bd37","user":{"login":"GeorgOstrovski","id":6409187,"avatar_url":"https://avatars.githubusercontent.com/u/6409187?v=3","gravatar_id":"","url":"https://api.github.com/users/GeorgOstrovski","html_url":"https://github.com/GeorgOstrovski","followers_url":"https://api.github.com/users/GeorgOstrovski/followers","following_url":"https://api.github.com/users/GeorgOstrovski/following{/other_user}","gists_url":"https://api.github.com/users/GeorgOstrovski/gists{/gist_id}","starred_url":"https://api.github.com/users/GeorgOstrovski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GeorgOstrovski/subscriptions","organizations_url":"https://api.github.com/users/GeorgOstrovski/orgs","repos_url":"https://api.github.com/users/GeorgOstrovski/repos","events_url":"https://api.github.com/users/GeorgOstrovski/events{/privacy}","received_events_url":"https://api.github.com/users/GeorgOstrovski/received_events","type":"User","site_admin":false},"repo":{"id":26965719,"name":"torch-totem","full_name":"GeorgOstrovski/torch-totem","owner":{"login":"GeorgOstrovski","id":6409187,"avatar_url":"https://avatars.githubusercontent.com/u/6409187?v=3","gravatar_id":"","url":"https://api.github.com/users/GeorgOstrovski","html_url":"https://github.com/GeorgOstrovski","followers_url":"https://api.github.com/users/GeorgOstrovski/followers","following_url":"https://api.github.com/users/GeorgOstrovski/following{/other_user}","gists_url":"https://api.github.com/users/GeorgOstrovski/gists{/gist_id}","starred_url":"https://api.github.com/users/GeorgOstrovski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GeorgOstrovski/subscriptions","organizations_url":"https://api.github.com/users/GeorgOstrovski/orgs","repos_url":"https://api.github.com/users/GeorgOstrovski/repos","events_url":"https://api.github.com/users/GeorgOstrovski/events{/privacy}","received_events_url":"https://api.github.com/users/GeorgOstrovski/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GeorgOstrovski/torch-totem","description":"Torch test module","fork":true,"url":"https://api.github.com/repos/GeorgOstrovski/torch-totem","forks_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/forks","keys_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/teams","hooks_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/hooks","issue_events_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/issues/events{/number}","events_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/events","assignees_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/assignees{/user}","branches_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/branches{/branch}","tags_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/tags","blobs_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/git/refs{/sha}","trees_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/statuses/{sha}","languages_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/languages","stargazers_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/stargazers","contributors_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/contributors","subscribers_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/subscribers","subscription_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/subscription","commits_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/commits{/sha}","git_commits_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/git/commits{/sha}","comments_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/comments{/number}","issue_comment_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/issues/comments{/number}","contents_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/contents/{+path}","compare_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/merges","archive_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/downloads","issues_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/issues{/number}","pulls_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/pulls{/number}","milestones_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/milestones{/number}","notifications_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/labels{/name}","releases_url":"https://api.github.com/repos/GeorgOstrovski/torch-totem/releases{/id}","created_at":"2014-11-21T15:38:05Z","updated_at":"2014-11-21T15:39:09Z","pushed_at":"2015-07-31T18:11:38Z","git_url":"git://github.com/GeorgOstrovski/torch-totem.git","ssh_url":"git@github.com:GeorgOstrovski/torch-totem.git","clone_url":"https://github.com/GeorgOstrovski/torch-totem.git","svn_url":"https://github.com/GeorgOstrovski/torch-totem","homepage":null,"size":190,"stargazers_count":0,"watchers_count":0,"language":"Lua","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"deepmind:master","ref":"master","sha":"369f185cdaf22f0738ce31d794eb445c5339b271","user":{"login":"deepmind","id":8596759,"avatar_url":"https://avatars.githubusercontent.com/u/8596759?v=3","gravatar_id":"","url":"https://api.github.com/users/deepmind","html_url":"https://github.com/deepmind","followers_url":"https://api.github.com/users/deepmind/followers","following_url":"https://api.github.com/users/deepmind/following{/other_user}","gists_url":"https://api.github.com/users/deepmind/gists{/gist_id}","starred_url":"https://api.github.com/users/deepmind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepmind/subscriptions","organizations_url":"https://api.github.com/users/deepmind/orgs","repos_url":"https://api.github.com/users/deepmind/repos","events_url":"https://api.github.com/users/deepmind/events{/privacy}","received_events_url":"https://api.github.com/users/deepmind/received_events","type":"Organization","site_admin":false},"repo":{"id":17017530,"name":"torch-totem","full_name":"deepmind/torch-totem","owner":{"login":"deepmind","id":8596759,"avatar_url":"https://avatars.githubusercontent.com/u/8596759?v=3","gravatar_id":"","url":"https://api.github.com/users/deepmind","html_url":"https://github.com/deepmind","followers_url":"https://api.github.com/users/deepmind/followers","following_url":"https://api.github.com/users/deepmind/following{/other_user}","gists_url":"https://api.github.com/users/deepmind/gists{/gist_id}","starred_url":"https://api.github.com/users/deepmind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepmind/subscriptions","organizations_url":"https://api.github.com/users/deepmind/orgs","repos_url":"https://api.github.com/users/deepmind/repos","events_url":"https://api.github.com/users/deepmind/events{/privacy}","received_events_url":"https://api.github.com/users/deepmind/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/deepmind/torch-totem","description":"Torch test module","fork":false,"url":"https://api.github.com/repos/deepmind/torch-totem","forks_url":"https://api.github.com/repos/deepmind/torch-totem/forks","keys_url":"https://api.github.com/repos/deepmind/torch-totem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deepmind/torch-totem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deepmind/torch-totem/teams","hooks_url":"https://api.github.com/repos/deepmind/torch-totem/hooks","issue_events_url":"https://api.github.com/repos/deepmind/torch-totem/issues/events{/number}","events_url":"https://api.github.com/repos/deepmind/torch-totem/events","assignees_url":"https://api.github.com/repos/deepmind/torch-totem/assignees{/user}","branches_url":"https://api.github.com/repos/deepmind/torch-totem/branches{/branch}","tags_url":"https://api.github.com/repos/deepmind/torch-totem/tags","blobs_url":"https://api.github.com/repos/deepmind/torch-totem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deepmind/torch-totem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deepmind/torch-totem/git/refs{/sha}","trees_url":"https://api.github.com/repos/deepmind/torch-totem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deepmind/torch-totem/statuses/{sha}","languages_url":"https://api.github.com/repos/deepmind/torch-totem/languages","stargazers_url":"https://api.github.com/repos/deepmind/torch-totem/stargazers","contributors_url":"https://api.github.com/repos/deepmind/torch-totem/contributors","subscribers_url":"https://api.github.com/repos/deepmind/torch-totem/subscribers","subscription_url":"https://api.github.com/repos/deepmind/torch-totem/subscription","commits_url":"https://api.github.com/repos/deepmind/torch-totem/commits{/sha}","git_commits_url":"https://api.github.com/repos/deepmind/torch-totem/git/commits{/sha}","comments_url":"https://api.github.com/repos/deepmind/torch-totem/comments{/number}","issue_comment_url":"https://api.github.com/repos/deepmind/torch-totem/issues/comments{/number}","contents_url":"https://api.github.com/repos/deepmind/torch-totem/contents/{+path}","compare_url":"https://api.github.com/repos/deepmind/torch-totem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deepmind/torch-totem/merges","archive_url":"https://api.github.com/repos/deepmind/torch-totem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deepmind/torch-totem/downloads","issues_url":"https://api.github.com/repos/deepmind/torch-totem/issues{/number}","pulls_url":"https://api.github.com/repos/deepmind/torch-totem/pulls{/number}","milestones_url":"https://api.github.com/repos/deepmind/torch-totem/milestones{/number}","notifications_url":"https://api.github.com/repos/deepmind/torch-totem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deepmind/torch-totem/labels{/name}","releases_url":"https://api.github.com/repos/deepmind/torch-totem/releases{/id}","created_at":"2014-02-20T11:00:43Z","updated_at":"2015-06-19T17:13:53Z","pushed_at":"2015-06-29T12:53:49Z","git_url":"git://github.com/deepmind/torch-totem.git","ssh_url":"git@github.com:deepmind/torch-totem.git","clone_url":"https://github.com/deepmind/torch-totem.git","svn_url":"https://github.com/deepmind/torch-totem","homepage":null,"size":500,"stargazers_count":2,"watchers_count":2,"language":"Lua","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":6,"forks":13,"open_issues":6,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/deepmind/torch-totem/pulls/40"},"html":{"href":"https://github.com/deepmind/torch-totem/pull/40"},"issue":{"href":"https://api.github.com/repos/deepmind/torch-totem/issues/40"},"comments":{"href":"https://api.github.com/repos/deepmind/torch-totem/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/deepmind/torch-totem/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/deepmind/torch-totem/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/deepmind/torch-totem/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/deepmind/torch-totem/statuses/3a68c2c4e785210b907dca2011f1d5747647bd37"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":0,"deletions":3,"changed_files":1}}