{"action":"opened","issue":{"url":"https://api.github.com/repos/JuliaStats/TimeSeries.jl/issues/175","labels_url":"https://api.github.com/repos/JuliaStats/TimeSeries.jl/issues/175/labels{/name}","comments_url":"https://api.github.com/repos/JuliaStats/TimeSeries.jl/issues/175/comments","events_url":"https://api.github.com/repos/JuliaStats/TimeSeries.jl/issues/175/events","html_url":"https://github.com/JuliaStats/TimeSeries.jl/issues/175","id":59796352,"number":175,"title":"Add method definitions for operators without `.`","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-04T13:20:25Z","updated_at":"2015-03-04T13:20:25Z","closed_at":null,"body":"There is currently no support for operators between TimeArrays without the `.` broadcaster. \r\n\r\n````julia\r\njulia> cl .+ cl\r\n500x1 TimeSeries.TimeArray{Float64,1,DataType} 2000-01-03 to 2001-12-31\r\n\r\n             Cl.+Cl    \r\n2000-01-03 | 223.88    \r\n2000-01-04 | 205.0     \r\n2000-01-05 | 208.0     \r\n2000-01-06 | 190.0     \r\n⋮\r\n2001-12-26 | 42.98     \r\n2001-12-27 | 44.14     \r\n2001-12-28 | 44.86     \r\n2001-12-31 | 43.8      \r\n\r\njulia> cl + cl\r\nERROR: MethodError: `+` has no method matching +(::TimeSeries.TimeArray{Float64,1,DataType}, ::TimeSeries.TimeArray{Float64,1,DataType})\r\nClosest candidates are:\r\n  +(::Any, ::Any, ::Any)\r\n  +(::Any, ::Any, ::Any, ::Any...)\r\n````\r\nThis was done to conform to how base was handling this but it appears they have changed their mind and there is no reason to enforce *not* doing this.\r\n\r\nThis change will support both `.+` and `+` to mean the same thing."}}