{"action":"created","issue":{"url":"https://api.github.com/repos/sympy/sympy/issues/4795","repository_url":"https://api.github.com/repos/sympy/sympy","labels_url":"https://api.github.com/repos/sympy/sympy/issues/4795/labels{/name}","comments_url":"https://api.github.com/repos/sympy/sympy/issues/4795/comments","events_url":"https://api.github.com/repos/sympy/sympy/issues/4795/events","html_url":"https://github.com/sympy/sympy/issues/4795","id":28950159,"number":4795,"title":"integral of heaviside","user":{"login":"sympy-issue-migrator","id":6188475,"avatar_url":"https://avatars.githubusercontent.com/u/6188475?v=3","gravatar_id":"","url":"https://api.github.com/users/sympy-issue-migrator","html_url":"https://github.com/sympy-issue-migrator","followers_url":"https://api.github.com/users/sympy-issue-migrator/followers","following_url":"https://api.github.com/users/sympy-issue-migrator/following{/other_user}","gists_url":"https://api.github.com/users/sympy-issue-migrator/gists{/gist_id}","starred_url":"https://api.github.com/users/sympy-issue-migrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sympy-issue-migrator/subscriptions","organizations_url":"https://api.github.com/users/sympy-issue-migrator/orgs","repos_url":"https://api.github.com/users/sympy-issue-migrator/repos","events_url":"https://api.github.com/users/sympy-issue-migrator/events{/privacy}","received_events_url":"https://api.github.com/users/sympy-issue-migrator/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sympy/sympy/labels/bug","name":"bug","color":"ededed"},{"url":"https://api.github.com/repos/sympy/sympy/labels/Easy%20to%20Fix","name":"Easy to Fix","color":"009800"},{"url":"https://api.github.com/repos/sympy/sympy/labels/imported","name":"imported","color":"ededed"},{"url":"https://api.github.com/repos/sympy/sympy/labels/integrals","name":"integrals","color":"0000FF"},{"url":"https://api.github.com/repos/sympy/sympy/labels/valid","name":"valid","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2009-11-06T20:27:48Z","updated_at":"2016-02-09T16:44:49Z","closed_at":"2016-02-09T16:44:49Z","body":"```\r\nsympy seems to be unable to compute the integral of a Heaviside function\r\n\r\nf=Heaviside(x)\r\ng=integrate(f,(x,0,1))\r\nfloat(g)\r\n#ValueError: Symbolic value, can't compute\r\n```\r\nOriginal issue for #4795: http://code.google.com/p/sympy/issues/detail?id=1696\r\nOriginal author: https://code.google.com/u/106717656539804830979/\r\n"},"comment":{"url":"https://api.github.com/repos/sympy/sympy/issues/comments/181950544","html_url":"https://github.com/sympy/sympy/issues/4795#issuecomment-181950544","issue_url":"https://api.github.com/repos/sympy/sympy/issues/4795","id":181950544,"user":{"login":"asmeurer","id":71486,"avatar_url":"https://avatars.githubusercontent.com/u/71486?v=3","gravatar_id":"","url":"https://api.github.com/users/asmeurer","html_url":"https://github.com/asmeurer","followers_url":"https://api.github.com/users/asmeurer/followers","following_url":"https://api.github.com/users/asmeurer/following{/other_user}","gists_url":"https://api.github.com/users/asmeurer/gists{/gist_id}","starred_url":"https://api.github.com/users/asmeurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmeurer/subscriptions","organizations_url":"https://api.github.com/users/asmeurer/orgs","repos_url":"https://api.github.com/users/asmeurer/repos","events_url":"https://api.github.com/users/asmeurer/events{/privacy}","received_events_url":"https://api.github.com/users/asmeurer/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T16:44:49Z","updated_at":"2016-02-09T16:44:49Z","body":"Looks like it:\r\n\r\n```\r\nIn [11]: integrate(Heaviside(x), (x, 0, 1))\r\nOut[11]: 1\r\n\r\nIn [12]: float(Integral(Heaviside(x), (x, 0, 1)))\r\nOut[12]: 1.0\r\n```"}}