Comment #3 on issue 1499 by asmeurer: Sum function seems to fail http://code.google.com/p/sympy/issues/detail?id=1499
I think there could be reasons to substitute the summation variable such as for printing purposes. Sum is passive (it doesn't evaluate by default), so it is more than just a dummy variable here. At any rate, I originally made it substitute the summation variable before I realized that it might not be a good idea, and all of the tests pass. You just need to change it so it says: newargs = map(sympify, self.args[1])[0] (instead of what if currently sets newargs to) Also, I forgot to mention this above, but as a side note, I would recommend against using capitol I as a variable name. It is used as sqrt(-1) by default, but If you override it as a Symbol, you will lose that. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
