{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/12571","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/12571/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/12571/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/12571/events","html_url":"https://github.com/JuliaLang/julia/pull/12571","id":100384941,"number":12571,"title":"Avoid overflow in p norms","user":{"login":"andreasnoack","id":505001,"avatar_url":"https://avatars.githubusercontent.com/u/505001?v=3","gravatar_id":"","url":"https://api.github.com/users/andreasnoack","html_url":"https://github.com/andreasnoack","followers_url":"https://api.github.com/users/andreasnoack/followers","following_url":"https://api.github.com/users/andreasnoack/following{/other_user}","gists_url":"https://api.github.com/users/andreasnoack/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasnoack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasnoack/subscriptions","organizations_url":"https://api.github.com/users/andreasnoack/orgs","repos_url":"https://api.github.com/users/andreasnoack/repos","events_url":"https://api.github.com/users/andreasnoack/events{/privacy}","received_events_url":"https://api.github.com/users/andreasnoack/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JuliaLang/julia/labels/linear%20algebra","name":"linear algebra","color":"aa8800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-08-11T19:08:52Z","updated_at":"2015-09-03T19:50:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/12571","html_url":"https://github.com/JuliaLang/julia/pull/12571","diff_url":"https://github.com/JuliaLang/julia/pull/12571.diff","patch_url":"https://github.com/JuliaLang/julia/pull/12571.patch"},"body":"Use division instead of multiplication with reciprocal when scaling elements in vecnorm methods. This fixes #11788 and supersedes #11789. The logic used here is a little different from the other `generic_vecnorm`s. I try to use the element type of the array when the input is an `AbstractVector{T<:Number}` and for general iterables I have to require that they are non-empty.\r\n\r\ncc: @stevengj "},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/137556209","html_url":"https://github.com/JuliaLang/julia/pull/12571#issuecomment-137556209","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/12571","id":137556209,"user":{"login":"stevengj","id":2913679,"avatar_url":"https://avatars.githubusercontent.com/u/2913679?v=3","gravatar_id":"","url":"https://api.github.com/users/stevengj","html_url":"https://github.com/stevengj","followers_url":"https://api.github.com/users/stevengj/followers","following_url":"https://api.github.com/users/stevengj/following{/other_user}","gists_url":"https://api.github.com/users/stevengj/gists{/gist_id}","starred_url":"https://api.github.com/users/stevengj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevengj/subscriptions","organizations_url":"https://api.github.com/users/stevengj/orgs","repos_url":"https://api.github.com/users/stevengj/repos","events_url":"https://api.github.com/users/stevengj/events{/privacy}","received_events_url":"https://api.github.com/users/stevengj/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T19:50:37Z","updated_at":"2015-09-03T19:50:37Z","body":"LGTM."}}