{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/issues/42","labels_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/issues/42/comments","events_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/issues/42/events","html_url":"https://github.com/JuliaDiff/TaylorSeries.jl/pull/42","id":130173381,"number":42,"title":"Precompilation and solves a printing issue for T<:Real but not the usual cases","user":{"login":"lbenet","id":5237744,"avatar_url":"https://avatars.githubusercontent.com/u/5237744?v=3","gravatar_id":"","url":"https://api.github.com/users/lbenet","html_url":"https://github.com/lbenet","followers_url":"https://api.github.com/users/lbenet/followers","following_url":"https://api.github.com/users/lbenet/following{/other_user}","gists_url":"https://api.github.com/users/lbenet/gists{/gist_id}","starred_url":"https://api.github.com/users/lbenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbenet/subscriptions","organizations_url":"https://api.github.com/users/lbenet/orgs","repos_url":"https://api.github.com/users/lbenet/repos","events_url":"https://api.github.com/users/lbenet/events{/privacy}","received_events_url":"https://api.github.com/users/lbenet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-31T19:41:34Z","updated_at":"2016-01-31T20:27:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/pulls/42","html_url":"https://github.com/JuliaDiff/TaylorSeries.jl/pull/42","diff_url":"https://github.com/JuliaDiff/TaylorSeries.jl/pull/42.diff","patch_url":"https://github.com/JuliaDiff/TaylorSeries.jl/pull/42.patch"},"body":"An example is when T is Interval; in that case, showing the\r\nTaylor series displayed odd results, though the coefficients\r\nwere correct\r\n\r\nIt also adds precompilation"},"comment":{"url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/issues/comments/177601984","html_url":"https://github.com/JuliaDiff/TaylorSeries.jl/pull/42#issuecomment-177601984","issue_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/issues/42","id":177601984,"user":{"login":"lbenet","id":5237744,"avatar_url":"https://avatars.githubusercontent.com/u/5237744?v=3","gravatar_id":"","url":"https://api.github.com/users/lbenet","html_url":"https://github.com/lbenet","followers_url":"https://api.github.com/users/lbenet/followers","following_url":"https://api.github.com/users/lbenet/following{/other_user}","gists_url":"https://api.github.com/users/lbenet/gists{/gist_id}","starred_url":"https://api.github.com/users/lbenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbenet/subscriptions","organizations_url":"https://api.github.com/users/lbenet/orgs","repos_url":"https://api.github.com/users/lbenet/repos","events_url":"https://api.github.com/users/lbenet/events{/privacy}","received_events_url":"https://api.github.com/users/lbenet/received_events","type":"User","site_admin":false},"created_at":"2016-01-31T20:27:54Z","updated_at":"2016-01-31T20:27:54Z","body":"The following is a simple example; currently in master one gets\r\n```julia\r\njulia> using TaylorSeries\r\njulia> using ValidatedNumerics\r\njulia> Taylor1([0,@interval(-1,1)],3)\r\n - [0.0, 1.0] t + 𝒪(t⁴)\r\n```\r\n\r\nwhile, in the \"printing\" branch,\r\n```julia\r\njulia> using TaylorSeries\r\nINFO: Recompiling stale cache file /Users/benet/.julia/lib/v0.4/TaylorSeries.ji for module TaylorSeries.\r\njulia> using ValidatedNumerics\r\njulia> Taylor1([0,@interval(-1,1)],3)\r\n [-1.0, 1.0] t + 𝒪(t⁴)\r\n```\r\n\r\nThis is related to the fact that `numbr2str` operates using the sign, testing if the coefficient is >0, and if not, it puts a minus sign and attaches the abs. This is ok for numeric coefficients, but not for interval coefficients."}}