{"action":"closed","issue":{"url":"https://api.github.com/repos/arrayfire/arrayfire/issues/1675","repository_url":"https://api.github.com/repos/arrayfire/arrayfire","labels_url":"https://api.github.com/repos/arrayfire/arrayfire/issues/1675/labels{/name}","comments_url":"https://api.github.com/repos/arrayfire/arrayfire/issues/1675/comments","events_url":"https://api.github.com/repos/arrayfire/arrayfire/issues/1675/events","html_url":"https://github.com/arrayfire/arrayfire/issues/1675","id":195707941,"number":1675,"title":"setIntersect over singletons throws exception","user":{"login":"arcfide","id":1235230,"avatar_url":"https://avatars.githubusercontent.com/u/1235230?v=3","gravatar_id":"","url":"https://api.github.com/users/arcfide","html_url":"https://github.com/arcfide","followers_url":"https://api.github.com/users/arcfide/followers","following_url":"https://api.github.com/users/arcfide/following{/other_user}","gists_url":"https://api.github.com/users/arcfide/gists{/gist_id}","starred_url":"https://api.github.com/users/arcfide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arcfide/subscriptions","organizations_url":"https://api.github.com/users/arcfide/orgs","repos_url":"https://api.github.com/users/arcfide/repos","events_url":"https://api.github.com/users/arcfide/events{/privacy}","received_events_url":"https://api.github.com/users/arcfide/received_events","type":"User","site_admin":false},"labels":[{"id":142541534,"url":"https://api.github.com/repos/arrayfire/arrayfire/labels/bug","name":"bug","color":"FF0000","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/arrayfire/arrayfire/milestones/19","html_url":"https://github.com/arrayfire/arrayfire/milestone/19","labels_url":"https://api.github.com/repos/arrayfire/arrayfire/milestones/19/labels","id":2065119,"number":19,"title":"v3.4.2","description":"","creator":{"login":"shehzan10","id":2288659,"avatar_url":"https://avatars.githubusercontent.com/u/2288659?v=3","gravatar_id":"","url":"https://api.github.com/users/shehzan10","html_url":"https://github.com/shehzan10","followers_url":"https://api.github.com/users/shehzan10/followers","following_url":"https://api.github.com/users/shehzan10/following{/other_user}","gists_url":"https://api.github.com/users/shehzan10/gists{/gist_id}","starred_url":"https://api.github.com/users/shehzan10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shehzan10/subscriptions","organizations_url":"https://api.github.com/users/shehzan10/orgs","repos_url":"https://api.github.com/users/shehzan10/repos","events_url":"https://api.github.com/users/shehzan10/events{/privacy}","received_events_url":"https://api.github.com/users/shehzan10/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":29,"state":"open","created_at":"2016-10-12T14:48:18Z","updated_at":"2016-12-19T19:23:57Z","due_on":"2016-12-19T08:00:00Z","closed_at":null},"comments":5,"created_at":"2016-12-15T03:24:45Z","updated_at":"2016-12-19T19:23:57Z","closed_at":"2016-12-19T19:23:57Z","body":"The following code fails with an abort. The exception is some sort of memory access violation. This occurs regardless of the use of iota() or constant() to create the singleton array. Using an array containing at least two elements works fine. This happens with both the CPU and the OPENCL backend. \r\n\r\n```\r\n#include <arrayfire.h>\r\n\r\nusing namespace af;\r\n\r\nint main(int argc, char *argv[])\r\n{\r\n\tarray a1 = iota(dim4(1), dim4(1), s32);\r\n\tarray a2 = iota(dim4(5), dim4(1), s32);\r\n\t\r\n\tarray a3 = setIntersect(a1, a2);\r\n\r\n\taf_print(a3);\r\n\r\n\treturn 0;\r\n}\r\n```"}}
{"actor":{"display_login":"shehzan10"}}