Comment #7 on issue 2639 by [email protected]: Product() is seriously broken
http://code.google.com/p/sympy/issues/detail?id=2639
I'm leaving this as a cherry for the CodeIn: delete these two lines in
products.py:
if isinstance(a, C.Integer) and isinstance(n, C.Integer):
return Mul(*[term.subs(k, i) for i in xrange(int(a),
int(n)+1)])
then fix tests that expected an unevaluate product to be evaluated and
change any code that was using Product to do a product (or use prod from
mul.py).
I note also that a double product is not defined. Shouldn't this work:
Product(x*y, (x, 1, 2), (y, 1, 3)) == 1*1*2*1*2*1*2*2*3*1*3*2
--
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.