#8459: broken translation of polylog from Maxima
-----------------------------+----------------------------------------------
   Reporter:  robert.marik   |       Owner:  burcin    
       Type:  defect         |      Status:  needs_work
   Priority:  major          |   Milestone:  sage-4.4  
  Component:  symbolics      |    Keywords:  symbolics 
     Author:  Robert Marik   |    Upstream:  N/A       
   Reviewer:  Burcin Erocal  |      Merged:            
Work_issues:                 |  
-----------------------------+----------------------------------------------
Changes (by jhpalmieri):

  * status:  positive_review => needs_work


Comment:

 After applying "trac-8459.patch" and "trac_8459-doctest.patch" to Sage
 4.3.5, I get doctest errors for functions/log.py:
 {{{
 sage -t  "devel/sage/sage/functions/log.py"
 **********************************************************************
 File "/Applications/sage/devel/sage/sage/functions/log.py", line 305:
     sage: t.operator() == polylog
 Expected:
     True
 Got:
     False
 **********************************************************************
 File "/Applications/sage/devel/sage/sage/functions/log.py", line 307:
     sage: t.subs(x=.5).n()
 Exception raised:
     Traceback (most recent call last):
       File "/Applications/sage/local/bin/ncadoctest.py", line 1231, in
 run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/Applications/sage/local/bin/sagedoctest.py", line 38, in
 run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File "/Applications/sage/local/bin/ncadoctest.py", line 1172, in
 run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_5[17]>", line 1, in <module>
         t.subs(x=RealNumber('.5')).n()###line 307:
     sage: t.subs(x=.5).n()
       File "expression.pyx", line 3797, in
 sage.symbolic.expression.Expression.n (sage/symbolic/expression.cpp:17043)
     TypeError: cannot evaluate symbolic expression numerically
 **********************************************************************
 1 items had failures:
    2 of  18 in __main__.example_5
 ***Test Failed*** 2 failures.
 For whitespace errors, see the file
 /Users/palmieri/.sage//tmp/.doctest_log.py
          [7.6 s]
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8459#comment:7>
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