{"action":"closed","issue":{"url":"https://api.github.com/repos/sympy/sympy/issues/11544","repository_url":"https://api.github.com/repos/sympy/sympy","labels_url":"https://api.github.com/repos/sympy/sympy/issues/11544/labels{/name}","comments_url":"https://api.github.com/repos/sympy/sympy/issues/11544/comments","events_url":"https://api.github.com/repos/sympy/sympy/issues/11544/events","html_url":"https://github.com/sympy/sympy/issues/11544","id":172873650,"number":11544,"title":"powsimp(-0.5**x + 2**(-x)) throws error","user":{"login":"michaeldong21","id":20964432,"avatar_url":"https://avatars.githubusercontent.com/u/20964432?v=3","gravatar_id":"","url":"https://api.github.com/users/michaeldong21","html_url":"https://github.com/michaeldong21","followers_url":"https://api.github.com/users/michaeldong21/followers","following_url":"https://api.github.com/users/michaeldong21/following{/other_user}","gists_url":"https://api.github.com/users/michaeldong21/gists{/gist_id}","starred_url":"https://api.github.com/users/michaeldong21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaeldong21/subscriptions","organizations_url":"https://api.github.com/users/michaeldong21/orgs","repos_url":"https://api.github.com/users/michaeldong21/repos","events_url":"https://api.github.com/users/michaeldong21/events{/privacy}","received_events_url":"https://api.github.com/users/michaeldong21/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-24T06:23:55Z","updated_at":"2016-08-29T23:06:04Z","closed_at":"2016-08-29T23:06:04Z","body":"```\r\n>>> powsimp(-0.5**x + 2**(-x))\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 1, in <module>\r\n  File \"/base/data/home/apps/s~sympy-live-hrd/46.393464279709602171/sympy/sympy/simplify/powsimp.py\", line 118, in powsimp\r\n    expr = expr.func(*[recurse(w) for w in expr.args])\r\n  File \"/base/data/home/apps/s~sympy-live-hrd/46.393464279709602171/sympy/sympy/simplify/powsimp.py\", line 109, in recurse\r\n    return powsimp(arg, _deep, _combine, _force, _measure)\r\n  File \"/base/data/home/apps/s~sympy-live-hrd/46.393464279709602171/sympy/sympy/simplify/powsimp.py\", line 169, in powsimp\r\n    m = multiplicity(abs(b), abs(coeff))\r\n  File \"/base/data/home/apps/s~sympy-live-hrd/46.393464279709602171/sympy/sympy/ntheory/factor_.py\", line 231, in multiplicity\r\n    raise ValueError('expecting ints or fractions, got %s and %s' % (p, n))\r\nValueError: expecting ints or fractions, got 0.500000000000000 and 1\r\n```"}}
{"actor":{"display_login":"bjodah"}}