#5015: [with patch, needs review] Horrible bug in old (and new) symbolic 
calculus:
f(x)=1; f*e --> BOOM!
----------------------+-----------------------------------------------------
 Reporter:  was       |        Owner:  burcin  
     Type:  defect    |       Status:  new     
 Priority:  major     |    Milestone:  sage-3.3
Component:  calculus  |   Resolution:          
 Keywords:            |  
----------------------+-----------------------------------------------------
Changes (by mhansen):

  * summary:  Horrible bug in old (and new) symbolic calculus: f(x)=1; f*e
              --> BOOM! => [with patch, needs review]
              Horrible bug in old (and new) symbolic
              calculus: f(x)=1; f*e --> BOOM!

Comment:

 Note that the new code doesn't get run as doing

 f(x) = 1

 overwrites the old x (which was created with var('x',ns=1)) with just
 var('x').  The infinite recursion is due the CallableSymbolicExpression
 ring assuming that all elements of SR were instances of
 SymbolicExpression.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5015#comment:1>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" 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/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to