{"action":"opened","issue":{"url":"https://api.github.com/repos/JuliaArrays/StaticArrays.jl/issues/403","repository_url":"https://api.github.com/repos/JuliaArrays/StaticArrays.jl","labels_url":"https://api.github.com/repos/JuliaArrays/StaticArrays.jl/issues/403/labels{/name}","comments_url":"https://api.github.com/repos/JuliaArrays/StaticArrays.jl/issues/403/comments","events_url":"https://api.github.com/repos/JuliaArrays/StaticArrays.jl/issues/403/events","html_url":"https://github.com/JuliaArrays/StaticArrays.jl/issues/403","id":322810301,"number":403,"title":"Type changes from `MArray` to `SArray` upon using broadcast (vectorization)","user":{"login":"eeshan9815","id":26198993,"avatar_url":"https://avatars3.githubusercontent.com/u/26198993?v=4","gravatar_id":"","url":"https://api.github.com/users/eeshan9815","html_url":"https://github.com/eeshan9815","followers_url":"https://api.github.com/users/eeshan9815/followers","following_url":"https://api.github.com/users/eeshan9815/following{/other_user}","gists_url":"https://api.github.com/users/eeshan9815/gists{/gist_id}","starred_url":"https://api.github.com/users/eeshan9815/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eeshan9815/subscriptions","organizations_url":"https://api.github.com/users/eeshan9815/orgs","repos_url":"https://api.github.com/users/eeshan9815/repos","events_url":"https://api.github.com/users/eeshan9815/events{/privacy}","received_events_url":"https://api.github.com/users/eeshan9815/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-14T13:11:37Z","updated_at":"2018-05-14T13:11:37Z","closed_at":null,"author_association":"NONE","body":"```\r\njulia> a = @MMatrix randn(2, 2)\r\n2×2 StaticArrays.MArray{Tuple{2,2},Float64,2,4}:\r\n 1.16721   -1.01285\r\n 0.221507   0.00572563\r\n```\r\n```\r\njulia> sa = sin.(a)\r\n2×2 StaticArrays.SArray{Tuple{2,2},Float64,2,4}:\r\n 0.919658  -0.848346\r\n 0.2197     0.0057256\r\n```\r\nWhy is `sa` of the type `SArray` whereas `a` is of the type `MArray`?"}}
{"actor":{"display_login":"eeshan9815"}}