{"action":"closed","issue":{"url":"https://api.github.com/repos/brian-lau/MatlabStan/issues/7","labels_url":"https://api.github.com/repos/brian-lau/MatlabStan/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/brian-lau/MatlabStan/issues/7/comments","events_url":"https://api.github.com/repos/brian-lau/MatlabStan/issues/7/events","html_url":"https://github.com/brian-lau/MatlabStan/issues/7","id":89801578,"number":7,"title":"error extracting samples","user":{"login":"mboedigh","id":9387535,"avatar_url":"https://avatars.githubusercontent.com/u/9387535?v=3","gravatar_id":"","url":"https://api.github.com/users/mboedigh","html_url":"https://github.com/mboedigh","followers_url":"https://api.github.com/users/mboedigh/followers","following_url":"https://api.github.com/users/mboedigh/following{/other_user}","gists_url":"https://api.github.com/users/mboedigh/gists{/gist_id}","starred_url":"https://api.github.com/users/mboedigh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mboedigh/subscriptions","organizations_url":"https://api.github.com/users/mboedigh/orgs","repos_url":"https://api.github.com/users/mboedigh/repos","events_url":"https://api.github.com/users/mboedigh/events{/privacy}","received_events_url":"https://api.github.com/users/mboedigh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-20T18:33:30Z","updated_at":"2015-06-22T15:05:45Z","closed_at":"2015-06-22T15:05:45Z","body":"line 57:   temp{j} = length(self.(s)(i).(fn{i}));\r\n\r\nthrows \"Index exceeds matrix dimensions.\" in some cases. \r\ni is an index into self.samples but is used here to index fn, if i > length(fn) this is an error. In any case j seems like it should be the index into self.samples(i).(fn{j});"}}