Comment #22 on issue 2440 by smi...@gmail.com: Equal Integrals compare different when using different variables
http://code.google.com/p/sympy/issues/detail?id=2440

I see why this is a bad idea - the bound symbols only should be remapped, not the others or else a cached result for one expression would be returned for another, e.g. if x+y and a+b were squared, we want (x+y)**2 in one case and (a+b)**2 in the other. If they were both hashed using _0+_1 then whichever expression was squared first would also be the result when squaring the other:

e1 = x+y
e2 = a+b
e1**2 -> (x+y)**2
e2**2 -> (x+y)**2  # if the squaring procedure were cached

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

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


Reply via email to