#19819: Update to pynac-0.5.4
-------------------------------------+-------------------------------------
       Reporter:  rws                |        Owner:
           Type:  enhancement        |       Status:  new
       Priority:  major              |    Milestone:  sage-7.0
      Component:  packages:          |   Resolution:
  standard                           |    Merged in:
       Keywords:                     |    Reviewers:
        Authors:                     |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:  u/rws/19819-1      |  ea6a8fac59921b69c8e9caede213a697064e5494
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by rws):

 Replying to [comment:14 jdemeyer]:
 > I don't really understand the doctest changes of the form
 > {{{
 > #!diff
 > -        sage: QQbar(e^(pi*I/3))
 > +        sage: QQbar(exp(pi*I/3, hold=True))
 > }}}
 These I did mindlessly to preserve the result:
 {{{
 Failed example:
     QQbar(e^(pi*I/3))
 Expected:
     0.500000000000000? + 0.866025403784439?*I
 Got:
     0.50000000000000000? + 0.866025403784439?*I
 }}}
 This one cannot be fixed otherwise:
 {{{
 Failed example:
     a.composition(exp(I*pi/3), exp)
 Exception raised:
       File "/home/ralf/sage/local/lib/python2.7/site-
 packages/sage/symbolic/expression_conversions.py", line 866, in
 composition
         operand, = ex.operands()
     ValueError: too many values to unpack
 }}}

 Replying to [comment:15 jdemeyer]:
 > Nor this one:
 > {{{
 > #!diff
 > -        sage: N(integrate(sin(x^2)/(x^2), x, 1, infinity))
 > -        0.285736646322853
 > +        sage: N(integrate(sin(x^2)/(x^2), x, 1, infinity), prec=40)
 > +        0.28573664632
 > }}}
 How do you let the original succeed? Attempts with tolerance didn't work:
 {{{
 sage: N(integrate(sin(x^2)/(x^2), x, 1, infinity))
 0.285736646322853 + 6.93889390390723e-18*I
 }}}

 > By the way, I think that this should be pynac-0.6.0 instead of
 pynax-0.5.4.
 Because of the interface change or the amount of changes?

--
Ticket URL: <http://trac.sagemath.org/ticket/19819#comment:19>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to