Comment #8 on issue 1127 by [email protected]:
integrate(2*a/((((2*a)**2+x**2))**(3/2)),x) gives traceback
http://code.google.com/p/sympy/issues/detail?id=1127
This fails for a new reason (misuse of new_rawargs);
nsimplify(integrate(2*a/((((2*a)**2 + x**2))**1.5), x).n(2))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "sympy\utilities\decorator.py", line 25, in threaded_func
return func(expr, *args, **kwargs)
File "sympy\integrals\integrals.py", line 1098, in integrate
return integral.doit(deep = False, meijerg = meijerg, conds = conds)
File "sympy\integrals\integrals.py", line 509, in doit
antideriv = self._eval_integral(function, xab[0], meijerg1)
File "sympy\integrals\integrals.py", line 779, in _eval_integral
h = meijerint_indefinite(g, x)
File "sympy\integrals\meijerint.py", line 1478, in meijerint_indefinite
res = _meijerint_indefinite_1(f.subs(x, x + a), x)
File "sympy\integrals\meijerint.py", line 1487, in _meijerint_indefinite_1
gs = _rewrite1(f, x)
File "sympy\integrals\meijerint.py", line 1436, in _rewrite1
g = _rewrite_single(g, x, recursive)
File "sympy\core\cache.py", line 91, in wrapper
func_cache_it_cache[k] = r = func(*args, **kw_args)
File "sympy\integrals\meijerint.py", line 1353, in _rewrite_single
exponents_only=True), x)
File "sympy\integrals\meijerint.py", line 277, in _get_coeff_exp
(c, m) = expand_power_base(powsimp(expr)).as_coeff_mul(x)
File "sympy\simplify\simplify.py", line 1950, in powsimp
powsimp(newexpr, deep, combine='base', force=force)
File "sympy\simplify\simplify.py", line 1986, in powsimp
c_powers[i] = [Pow(b, exp_c), e._new_rawargs(*exp_t)]
AttributeError: 'Float' object has no attribute '_new_rawargs'
A pull request is at https://github.com/sympy/sympy/pull/1005
--
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.