#11334: Update numpy to 1.7.0
--------------------------------------------------------------+-------------
Reporter: jason | Owner:
tbd
Type: task | Status:
needs_work
Priority: major | Milestone:
sage-5.9
Component: packages: standard | Resolution:
Keywords: sd40.5 | Work issues:
Report Upstream: Fixed upstream, in a later stable release. | Reviewers:
Authors: | Merged in:
Dependencies: #12415, #13992 | Stopgaps:
--------------------------------------------------------------+-------------
Comment (by strogdon):
Replying to [comment:106 fbissey]:
>Steve, don't see one at line 109 rings alarm bells. Would it be the
machine on which you experience [https://github.com/cschwan/sage-on-
gentoo/issues/208] by any chance?
No, this is another machine. Vanilla Sage was built in prefix on this
machine. And even on the machine associate with
[https://github.com/cschwan/sage-on-gentoo/issues/208], vanilla Sage does
not exhibit the odd behavior of that issue. I get with the prefix-built
Sage
{{{
$ ./sage -t devel/sage/sage/calculus/riemann.pyx
Running doctests with ID 2013-04-03-16-48-12-0f9b93ae.
Doctesting 1 file.
sage -t devel/sage/sage/calculus/riemann.pyx
**********************************************************************
File "devel/sage/sage/calculus/riemann.pyx", line 119, in
sage.calculus.riemann.Riemann_Map
Failed example:
m = Riemann_Map([f, hf], [fprime, hfprime], 0.5 + 0.5*I)
Expected nothing
Got:
doctest:1: RuntimeWarning: divide by zero encountered in divide
**********************************************************************
File "devel/sage/sage/calculus/riemann.pyx", line 163, in
sage.calculus.riemann.Riemann_Map.__init__
Failed example:
m = Riemann_Map([f], [fprime], 0)
Expected nothing
Got:
doctest:1: RuntimeWarning: divide by zero encountered in divide
**********************************************************************
File "devel/sage/sage/calculus/riemann.pyx", line 228, in
sage.calculus.riemann.Riemann_Map._generate_theta_array
Failed example:
m = Riemann_Map([f], [fprime], 0)
Expected nothing
Got:
doctest:1: RuntimeWarning: divide by zero encountered in divide
**********************************************************************
}}}
There is no failure associated with the test starting at line 109. However
on a fresh start of Sage I get for the test starting at line 109:
{{{
sage: f(t) = e^(I*t)
sage: fprime(t) = I*e^(I*t)
sage: m = Riemann_Map([f], [fprime], 0) # long time (4 sec)
/storage/sage/sage-5.9.beta1/local/bin/sage-ipython:1: RuntimeWarning:
divide by zero encountered in divide
#!/usr/bin/env python
}}}
but if I run the commands again without restarting Sage I get no
{{{RuntimeWarning}}}. Is this to be expected? Is something being cached
somewhere? And oddly with your patch
[http://trac.sagemath.org/sage_trac/attachment/ticket/11334/trac_11334-divide.patch
trac_11334-divide.patch] I only get
{{{
$ ./sage -t devel/sage/sage/calculus/riemann.pyx
Running doctests with ID 2013-04-03-17-14-01-9d1e8739.
Doctesting 1 file.
sage -t devel/sage/sage/calculus/riemann.pyx
**********************************************************************
File "devel/sage/sage/calculus/riemann.pyx", line 120, in
sage.calculus.riemann.Riemann_Map
Failed example:
m = Riemann_Map([f, hf], [fprime, hfprime], 0.5 + 0.5*I)
Expected nothing
Got:
doctest:1: RuntimeWarning: divide by zero encountered in divide
**********************************************************************
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11334#comment:107>
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 http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.