Hi,

I am writing some physics article, and I am including there a SymPy
snippet to produce some series (you can see the output
in the gist as well):

https://gist.github.com/3615868

And unfortunately, it works with SymPy 0.7.1, but fails in the current
master. Git bisect shows that it was broken by this commit:

https://github.com/sympy/sympy/commit/0f914e7b29573a82f7267352cfd80089460242ad

I am not quite sure what's happening. But if you run my script at this
commit, it will hand at the line:

f = (2*l+1) / (2*t) * integrate(legendre(l, (1-R**2+t**2) / (2*t)) \
        * exp(-alpha*R), (R, 1-t, 1+t))

Is this a supported way of constructing symbolic integrals? I then
need to evaluate it for particular numeric "l", so I just
use for example:

f.subs(l, 4).doit()

I like that it keeps the code like the mathematics. I am asking before
the release, because it'd be sad if people could not
run the code after the article is published (I am referencing a sympy
0.7.1 so at least that version will work).
I'll be happy to rewrite it of course, if the above way is not supported.

Ondrej

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com.
To unsubscribe from this group, send email to 
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to