{"action":"created","issue":{"url":"https://api.github.com/repos/arrayfire/arrayfire/issues/314","labels_url":"https://api.github.com/repos/arrayfire/arrayfire/issues/314/labels{/name}","comments_url":"https://api.github.com/repos/arrayfire/arrayfire/issues/314/comments","events_url":"https://api.github.com/repos/arrayfire/arrayfire/issues/314/events","html_url":"https://github.com/arrayfire/arrayfire/issues/314","id":53729985,"number":314,"title":"Array based indexing in 2D array","user":{"login":"hakttari","id":10024858,"avatar_url":"https://avatars.githubusercontent.com/u/10024858?v=3","gravatar_id":"","url":"https://api.github.com/users/hakttari","html_url":"https://github.com/hakttari","followers_url":"https://api.github.com/users/hakttari/followers","following_url":"https://api.github.com/users/hakttari/following{/other_user}","gists_url":"https://api.github.com/users/hakttari/gists{/gist_id}","starred_url":"https://api.github.com/users/hakttari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hakttari/subscriptions","organizations_url":"https://api.github.com/users/hakttari/orgs","repos_url":"https://api.github.com/users/hakttari/repos","events_url":"https://api.github.com/users/hakttari/events{/privacy}","received_events_url":"https://api.github.com/users/hakttari/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-08T09:25:06Z","updated_at":"2015-01-08T21:04:34Z","closed_at":"2015-01-08T21:04:34Z","body":"Recently added feature of array based indexing is cool, but I ran into a problem with the following code. Please help.\r\n\r\narray a = randu(5, 1, f32);\r\narray b = where(a < 0.5);\r\na(b) = 1.0f;\t// WORKING as it does in AF2.0\r\narray c = randu(5, 5, f32);\r\nc(b, 1) = 1.0f; // ERROR in AF3.0, but working in AF2.0\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/arrayfire/arrayfire/issues/comments/69248913","html_url":"https://github.com/arrayfire/arrayfire/issues/314#issuecomment-69248913","issue_url":"https://api.github.com/repos/arrayfire/arrayfire/issues/314","id":69248913,"user":{"login":"pavanky","id":364829,"avatar_url":"https://avatars.githubusercontent.com/u/364829?v=3","gravatar_id":"","url":"https://api.github.com/users/pavanky","html_url":"https://github.com/pavanky","followers_url":"https://api.github.com/users/pavanky/followers","following_url":"https://api.github.com/users/pavanky/following{/other_user}","gists_url":"https://api.github.com/users/pavanky/gists{/gist_id}","starred_url":"https://api.github.com/users/pavanky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavanky/subscriptions","organizations_url":"https://api.github.com/users/pavanky/orgs","repos_url":"https://api.github.com/users/pavanky/repos","events_url":"https://api.github.com/users/pavanky/events{/privacy}","received_events_url":"https://api.github.com/users/pavanky/received_events","type":"User","site_admin":false},"created_at":"2015-01-08T21:04:34Z","updated_at":"2015-01-08T21:04:34Z","body":"Indexing is partially implemented so far but this issue is essentially a duplicate of #245"}}