#9765: matrix2.pyx: replace "x < 1e-15" by "abs(x) < 1e-15"
-----------------------------+----------------------------------------------
Reporter: jhpalmieri | Owner: AlexGhitza
Type: defect | Status: new
Priority: major | Milestone: sage-4.6
Component: algebra | Keywords:
Author: John Palmieri | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------+----------------------------------------------
In matrix2.pyx, there is a doctest (line 6406):
{{{
sage: all(imag(e) < 1.1e-15 for e in eigs)
}}}
We should replace "imag(e)" by "abs(imag(e))".
The attached patch depends on #9760.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9765>
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.