Status: Valid
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 3462 by [email protected]: _eval_power problem
http://code.google.com/p/sympy/issues/detail?id=3462
var('a', commutative=False)
a
sqrt(-a).expand()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "sympy/functions/elementary/miscellaneous.py", line 108, in sqrt
return C.Pow(arg, S.Half)
File "sympy/core/cache.py", line 92, in wrapper
func_cache_it_cache[k] = r = func(*args, **kw_args)
File "sympy/core/power.py", line 99, in __new__
obj = b._eval_power(e)
File "sympy/core/mul.py", line 573, in _eval_power
bc[0] = -bc[0]
IndexError: list index out of range
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.