{"action":"created","issue":{"url":"https://api.github.com/repos/torch/torch7/issues/227","repository_url":"https://api.github.com/repos/torch/torch7","labels_url":"https://api.github.com/repos/torch/torch7/issues/227/labels{/name}","comments_url":"https://api.github.com/repos/torch/torch7/issues/227/comments","events_url":"https://api.github.com/repos/torch/torch7/issues/227/events","html_url":"https://github.com/torch/torch7/issues/227","id":73113636,"number":227,"title":"torch.svd allocates too large a matrix with 'S'","user":{"login":"soumith","id":1310570,"avatar_url":"https://avatars.githubusercontent.com/u/1310570?v=3","gravatar_id":"","url":"https://api.github.com/users/soumith","html_url":"https://github.com/soumith","followers_url":"https://api.github.com/users/soumith/followers","following_url":"https://api.github.com/users/soumith/following{/other_user}","gists_url":"https://api.github.com/users/soumith/gists{/gist_id}","starred_url":"https://api.github.com/users/soumith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soumith/subscriptions","organizations_url":"https://api.github.com/users/soumith/orgs","repos_url":"https://api.github.com/users/soumith/repos","events_url":"https://api.github.com/users/soumith/events{/privacy}","received_events_url":"https://api.github.com/users/soumith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-04T20:01:16Z","updated_at":"2016-02-03T11:30:05Z","closed_at":null,"body":"torch.svd allocates too large a matrix in the setting where you take the svd of an mxn matrix A with n>m, independent of  whether the 'S' flag is used.  If it is going to return an mxm matrix for the right singular vectors (instead of an mxn \"economy sized\" matrix), it should return an o.n. basis for R^m, with the first n vectors in the basis spanning the range of  A; currently the last m-n columns of the right singular value matrix are junk...\r\n\r\nReported by @aszlam"},"comment":{"url":"https://api.github.com/repos/torch/torch7/issues/comments/179177471","html_url":"https://github.com/torch/torch7/issues/227#issuecomment-179177471","issue_url":"https://api.github.com/repos/torch/torch7/issues/227","id":179177471,"user":{"login":"dominikgrewe","id":1619348,"avatar_url":"https://avatars.githubusercontent.com/u/1619348?v=3","gravatar_id":"","url":"https://api.github.com/users/dominikgrewe","html_url":"https://github.com/dominikgrewe","followers_url":"https://api.github.com/users/dominikgrewe/followers","following_url":"https://api.github.com/users/dominikgrewe/following{/other_user}","gists_url":"https://api.github.com/users/dominikgrewe/gists{/gist_id}","starred_url":"https://api.github.com/users/dominikgrewe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominikgrewe/subscriptions","organizations_url":"https://api.github.com/users/dominikgrewe/orgs","repos_url":"https://api.github.com/users/dominikgrewe/repos","events_url":"https://api.github.com/users/dominikgrewe/events{/privacy}","received_events_url":"https://api.github.com/users/dominikgrewe/received_events","type":"User","site_admin":false},"created_at":"2016-02-03T11:30:05Z","updated_at":"2016-02-03T11:30:05Z","body":"Sorry for the delay. I'm not very familiar with svd but @koraykv said he wanted to have a look."}}