{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaStats/TimeSeries.jl/issues/247","labels_url":"https://api.github.com/repos/JuliaStats/TimeSeries.jl/issues/247/labels{/name}","comments_url":"https://api.github.com/repos/JuliaStats/TimeSeries.jl/issues/247/comments","events_url":"https://api.github.com/repos/JuliaStats/TimeSeries.jl/issues/247/events","html_url":"https://github.com/JuliaStats/TimeSeries.jl/pull/247","id":130011604,"number":247,"title":"Support element-wise math across heterogeneous Number subtypes - fix #224","user":{"login":"GordStephen","id":2753264,"avatar_url":"https://avatars.githubusercontent.com/u/2753264?v=3","gravatar_id":"","url":"https://api.github.com/users/GordStephen","html_url":"https://github.com/GordStephen","followers_url":"https://api.github.com/users/GordStephen/followers","following_url":"https://api.github.com/users/GordStephen/following{/other_user}","gists_url":"https://api.github.com/users/GordStephen/gists{/gist_id}","starred_url":"https://api.github.com/users/GordStephen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GordStephen/subscriptions","organizations_url":"https://api.github.com/users/GordStephen/orgs","repos_url":"https://api.github.com/users/GordStephen/repos","events_url":"https://api.github.com/users/GordStephen/events{/privacy}","received_events_url":"https://api.github.com/users/GordStephen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-30T17:00:19Z","updated_at":"2016-01-31T02:56:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JuliaStats/TimeSeries.jl/pulls/247","html_url":"https://github.com/JuliaStats/TimeSeries.jl/pull/247","diff_url":"https://github.com/JuliaStats/TimeSeries.jl/pull/247.diff","patch_url":"https://github.com/JuliaStats/TimeSeries.jl/pull/247.patch"},"body":"Before:\r\n\r\n```julia\r\njulia> using MarketData\r\n\r\njulia> cl .* (cl .> 100)\r\nERROR: MethodError: `.*` has no method matching .*(::TimeSeries.TimeArray{Float64,1,Date,Array{Float64,1}}, ::TimeSeries.TimeArray{Bool,1,Date,BitArray{1}})\r\nClosest candidates are:\r\n  .*{T<:Number,N}(::TimeSeries.TimeArray{T<:Number,N,D<:Base.Dates.TimeType,A<:AbstractArray{T,N}}, ::Number)\r\n  .*{T<:Number,N}(::Number, ::TimeSeries.TimeArray{T<:Number,N,D<:Base.Dates.TimeType,A<:AbstractArray{T,N}})\r\n  .*{T<:Number,N,M}(::TimeSeries.TimeArray{T<:Number,N,D<:Base.Dates.TimeType,A<:AbstractArray{T,N}}, ::TimeSeries.TimeArray{T<:Number,M,D<:Base.Dates.TimeType,A<:AbstractArray{T,N}})\r\n```\r\n\r\nAfter:\r\n\r\n```julia\r\njulia> using MarketData\r\n\r\njulia> cl .* (cl .> 100)\r\n500x1 TimeSeries.TimeArray{Float64,1,Date,Array{Float64,1}} 2000-01-03 to 2001-12-31\r\n\r\n             Close.*Close.>100  \r\n2000-01-03 | 111.94             \r\n2000-01-04 | 102.5              \r\n2000-01-05 | 104.0              \r\n2000-01-06 | 0.0                \r\n⋮\r\n2001-12-26 | 0.0                \r\n2001-12-27 | 0.0                \r\n2001-12-28 | 0.0                \r\n2001-12-31 | 0.0\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/JuliaStats/TimeSeries.jl/issues/comments/177365839","html_url":"https://github.com/JuliaStats/TimeSeries.jl/pull/247#issuecomment-177365839","issue_url":"https://api.github.com/repos/JuliaStats/TimeSeries.jl/issues/247","id":177365839,"user":{"login":"milktrader","id":324836,"avatar_url":"https://avatars.githubusercontent.com/u/324836?v=3","gravatar_id":"","url":"https://api.github.com/users/milktrader","html_url":"https://github.com/milktrader","followers_url":"https://api.github.com/users/milktrader/followers","following_url":"https://api.github.com/users/milktrader/following{/other_user}","gists_url":"https://api.github.com/users/milktrader/gists{/gist_id}","starred_url":"https://api.github.com/users/milktrader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milktrader/subscriptions","organizations_url":"https://api.github.com/users/milktrader/orgs","repos_url":"https://api.github.com/users/milktrader/repos","events_url":"https://api.github.com/users/milktrader/events{/privacy}","received_events_url":"https://api.github.com/users/milktrader/received_events","type":"User","site_admin":false},"created_at":"2016-01-31T02:56:17Z","updated_at":"2016-01-31T02:56:17Z","body":"Nice. We should be documenting these awesome upgrades in NEWS.md"}}