#8969: problems with maxima inequalities
----------------------------------+-----------------------------------------
       Reporter:  dsm             |         Owner:  burcin      
           Type:  defect          |        Status:  needs_review
       Priority:  minor           |     Milestone:              
      Component:  symbolics       |    Resolution:              
       Keywords:  sd40.5          |   Work issues:              
Report Upstream:  N/A             |     Reviewers:              
        Authors:  Douglas McNeil  |     Merged in:              
   Dependencies:                  |      Stopgaps:              
----------------------------------+-----------------------------------------

Comment (by kcrisman):

 The problem wasn't really our translation of Maxima's inequality (`#`,
 which we finally fixed a while ago) but rather that we then had this
 little hack already.

 But all of your tests already work in Sage 5.0, because of the `#`
 replacement.  It really has to test the original bug report example,
 otherwise this is trivial.  I suggest

 {{{
 sage: from sage.calculus.calculus import
 symbolic_expression_from_maxima_string as sefms
 sage: sefms("x != 3") == SR(x != 3)
 True
 sage: sefms("x # 3") == SR(x != 3)
 True
 sage:  solve([2*x==3, x != 5], x)
 [[x == (3/2), (-7/2) != 0]]
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8969#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
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