Comment #14 on issue 2571 by [email protected]: Regression in Integral.subs
http://code.google.com/p/sympy/issues/detail?id=2571

Just a footnote here: xreplace is now available

Integral((exp(x*log(x))*log(x)), x).xreplace({exp(x*log(x)): x**x})
Integral(x**x*log(x), x)

With it, you can shoot yourself in the foot (but it'll take care of the OP issue):

Integral((exp(x*log(x))*log(x)), x).xreplace({x: 5})
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "sympy\core\basic.py", line 903, in xreplace
    return self.func(*args)
  File "sympy\integrals\integrals.py", line 77, in __new__
    limits, sign = _process_limits(*symbols)
  File "sympy\integrals\integrals.py", line 57, in _process_limits
    raise ValueError('Invalid limits given: %s' % str(symbols))
ValueError: Invalid limits given: ((5,),)




--
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.

Reply via email to