{"action":"created","issue":{"url":"https://api.github.com/repos/casadi/casadi/issues/1508","labels_url":"https://api.github.com/repos/casadi/casadi/issues/1508/labels{/name}","comments_url":"https://api.github.com/repos/casadi/casadi/issues/1508/comments","events_url":"https://api.github.com/repos/casadi/casadi/issues/1508/events","html_url":"https://github.com/casadi/casadi/issues/1508","id":98213280,"number":1508,"title":"shorthand indexing shape","user":{"login":"jgillis","id":329032,"avatar_url":"https://avatars.githubusercontent.com/u/329032?v=3","gravatar_id":"","url":"https://api.github.com/users/jgillis","html_url":"https://github.com/jgillis","followers_url":"https://api.github.com/users/jgillis/followers","following_url":"https://api.github.com/users/jgillis/following{/other_user}","gists_url":"https://api.github.com/users/jgillis/gists{/gist_id}","starred_url":"https://api.github.com/users/jgillis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgillis/subscriptions","organizations_url":"https://api.github.com/users/jgillis/orgs","repos_url":"https://api.github.com/users/jgillis/repos","events_url":"https://api.github.com/users/jgillis/events{/privacy}","received_events_url":"https://api.github.com/users/jgillis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/casadi/casadi/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/casadi/casadi/labels/matlab","name":"matlab","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/casadi/casadi/milestones/12","html_url":"https://github.com/casadi/casadi/milestones/Version%202.4.0","labels_url":"https://api.github.com/repos/casadi/casadi/milestones/12/labels","id":1023015,"number":12,"title":"Version 2.4.0","description":"","creator":{"login":"jaeandersson","id":2487645,"avatar_url":"https://avatars.githubusercontent.com/u/2487645?v=3","gravatar_id":"","url":"https://api.github.com/users/jaeandersson","html_url":"https://github.com/jaeandersson","followers_url":"https://api.github.com/users/jaeandersson/followers","following_url":"https://api.github.com/users/jaeandersson/following{/other_user}","gists_url":"https://api.github.com/users/jaeandersson/gists{/gist_id}","starred_url":"https://api.github.com/users/jaeandersson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaeandersson/subscriptions","organizations_url":"https://api.github.com/users/jaeandersson/orgs","repos_url":"https://api.github.com/users/jaeandersson/repos","events_url":"https://api.github.com/users/jaeandersson/events{/privacy}","received_events_url":"https://api.github.com/users/jaeandersson/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":102,"state":"open","created_at":"2015-03-16T10:01:44Z","updated_at":"2015-08-18T14:19:20Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-07-30T16:41:16Z","updated_at":"2015-08-18T18:43:00Z","closed_at":"2015-08-18T12:40:16Z","body":"\r\n```\r\nu=zeros(4,1);size(u(1:2))        %  2  1\r\nu=SX.sym('u',4,1);size(u(1:2)) % 1 2\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/casadi/casadi/issues/comments/132314018","html_url":"https://github.com/casadi/casadi/issues/1508#issuecomment-132314018","issue_url":"https://api.github.com/repos/casadi/casadi/issues/1508","id":132314018,"user":{"login":"jaeandersson","id":2487645,"avatar_url":"https://avatars.githubusercontent.com/u/2487645?v=3","gravatar_id":"","url":"https://api.github.com/users/jaeandersson","html_url":"https://github.com/jaeandersson","followers_url":"https://api.github.com/users/jaeandersson/followers","following_url":"https://api.github.com/users/jaeandersson/following{/other_user}","gists_url":"https://api.github.com/users/jaeandersson/gists{/gist_id}","starred_url":"https://api.github.com/users/jaeandersson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaeandersson/subscriptions","organizations_url":"https://api.github.com/users/jaeandersson/orgs","repos_url":"https://api.github.com/users/jaeandersson/repos","events_url":"https://api.github.com/users/jaeandersson/events{/privacy}","received_events_url":"https://api.github.com/users/jaeandersson/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T18:43:00Z","updated_at":"2015-08-18T18:43:00Z","body":"This is also inefficient. It results in temporary matrix created at every call, not only when needed (via recursive call)."}}