Ticket #3970 (new defect)

Opened 3 months ago

Last modified 3 months ago

[with patch, needs work] MaximaElements should not coerce into SR.

Reported by: mhansen Assigned to: burcin
Priority: minor Milestone: sage-3.2.2
Component: calculus Keywords:
Cc:

Description (Last modified by mhansen)

sage: f = maxima.function('x','sin(x)')
sage: f + x  #correct
sin(x)+x
sage: x+f    #wrong
x + sage6

Change History

08/27/2008 03:49:51 PM changed by mhansen

  • description changed.

After:

sage: f = maxima.function('x','sin(x)')
sage: f+x
sin(x)+x
sage: x+f
sin(x)+x
sage: type(_)
<class 'sage.interfaces.maxima.MaximaFunction'>

08/27/2008 03:51:20 PM changed by mhansen

  • summary changed from MaximaElements should not coerce into SR. to [with patch, needs review] MaximaElements should not coerce into SR..

Patch added which fixes the issue. This depends on #132.

08/28/2008 05:47:11 PM changed by mhansen

  • summary changed from [with patch, needs review] MaximaElements should not coerce into SR. to [with patch, needs work] MaximaElements should not coerce into SR..

This patch actually breaks everything in calculus.py. I must have ran the tests without having it actually applied.