#6993: [with package, needs work] update pynac to 0.1.9
---------------------------------+------------------------------------------
 Reporter:  burcin               |       Owner:  burcin    
     Type:  defect               |      Status:  assigned  
 Priority:  major                |   Milestone:  sage-4.1.2
Component:  packages             |    Keywords:            
 Reviewer:  Karl-Dieter Crisman  |      Author:            
   Merged:                       |  
---------------------------------+------------------------------------------
Changes (by kcrisman):

  * reviewer:  => Karl-Dieter Crisman


Comment:

 There are a lot of other doctest failures caused by this package than the
 ones fixed above.  It is possible that some are spurious because I missed
 something in the tickets listed above, but I will post them here for now.
  Ones not covered elsewhere I describe.
         sage -t  "devel/sage/sage/calculus/calculus.py"
         sage -t  "devel/sage/sage/calculus/desolvers.py"
         sage -t  "devel/sage/sage/calculus/functional.py"
         sage -t  "devel/sage/sage/calculus/functions.py"
         sage -t  "devel/sage/sage/functions/log.py"
         sage -t  "devel/sage/sage/calculus/tests.py"
 All of these are just order switches and should be trivial to fix.

         sage -t  "devel/sage/sage/calculus/wester.py"
 {{{
     sage: print RealField(150)(a)
 Expected:
     2.6253741264076874399999999999925007259719820e17
 Got:
     2.6253741264076874399999999999925007259719819e17
 *********************************************************************
     sage: taylor(log(x)^a*exp(-b*x), x, 1, 3)
 Expected:
     -1/48*(x - 1)^3*((6*b + 5)*(x - 1)^a*a^2 + (x - 1)^a*a^3 + 8*(x -
 1)^a*b^3 + 2*(6*b^2 + 5*b + 3)*(x - 1)^a*a)*e^(-b) + 1/24*(x - 1)^2*((12*b
 + 5)*(x - 1)^a*a + 3*(x - 1)^a*a^2 + 12*(x - 1)^a*b^2)*e^(-b) - 1/2*(x -
 1)*((x - 1)^a*a + 2*(x - 1)^a*b)*e^(-b) + (x - 1)^a*e^(-b)
 Got:
     -1/48*(x - 1)^3*((6*b + 5)*(x - 1)^a*a^2 + (x - 1)^a*a^3 + 8*(x -
 1)^a*b^3 + 2*(6*b^2 + 5*b + 3)*(x - 1)^a*a)/e^b + 1/24*(x - 1)^2*((12*b +
 5)*(x - 1)^a*a + 3*(x - 1)^a*a^2 + 12*(x - 1)^a*b^2)/e^b - 1/2*(x - 1)*((x
 - 1)^a*a + 2*(x - 1)^a*b)/e^b + (x - 1)^a/e^b
 *********************************************************************
 }}}
         sage -t  "devel/sage/sage/symbolic/expression.pyx"
         sage -t  "devel/sage/sage/symbolic/expression_conversions.py"
 Both of these have a problem with QQbar(e^(pi*I/3)).  This is definitely
 an algebraic number, so hopefully it's covered elsewhere.  Specifically,
 {{{
 ges/sage/symbolic/expression_conversions.pyc in composition(self, ex,
 operator)
     729             if rat_arg == 0:
     730                 # here we will either try and simplify, or return
 --> 731                 raise ValueError, "Unable to represent as an
 algebraic number."
     732             real = operand.real()
     733             if real:

 ValueError: Unable to represent as an algebraic number.
 }}}
         sage -t  "devel/sage/sage/symbolic/relation.py"
 This is:
 {{{
    sage: eq._maxima_init_()
 Expected:
     '(x)^(3/5) >= ((%pi)^(2))+(exp(0+%i*1))'
 Got:
     '(x)^(3/5) >= ((%pi)^(2))+((exp(1))^(0+%i*1))'
 ******
    sage: solve(f==0,x)
 Expected:
     [x == (-a)^(1/5)*e^(2/5*I*pi), x == (-a)^(1/5)*e^(4/5*I*pi), x ==
 (-a)^(1/5)*e^(-4/5*I*pi), x == (-a)^(1/5)*e^(-2/5*I*pi), x == (-a)^(1/5)]
 Got:
     [x == e^(2/5*I*pi)*(-a)^(1/5), x == e^(4/5*I*pi)*(-a)^(1/5), x ==
 e^(-4/5*I*pi)*(-a)^(1/5), x == e^(-2/5*I*pi)*(-a)^(1/5), x == (-a)^(1/5)]
 **********************************************************************
 }}}

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