#8720: CC and CDF do not display numeric 0
--------------------------------+-------------------------------------------
Reporter: jason | Owner: AlexGhitza
Type: defect | Status: needs_work
Priority: major | Milestone: sage-4.8
Component: basic arithmetic | Keywords:
Work_issues: | Upstream: N/A
Reviewer: Paul Zimmermann | Author: Jason Grout, Mike Hansen
Merged: | Dependencies:
--------------------------------+-------------------------------------------
Changes (by jdemeyer):
* status: positive_review => needs_work
Comment:
A few more doctests need to be fixed:
{{{
sage -t -force_lib devel/sage/sage/matrix/matrix2.pyx
**********************************************************************
File "/mnt/usb1/scratch/jdemeyer/merger/sage-4.8.alpha6/devel/sage-
main/sage/matrix/matrix2.pyx", line 7987:
sage: M.round(6).zero_at(10^-6)
Expected:
[ -1.528503 0 0]
[ 0.459974 - 0.40061*I -1.741233 0]
[-0.934304 + 0.148868*I 0.54833 + 0.073202*I -0.550725]
Got:
[ -1.528503 0.0 0.0]
[ 0.459974 - 0.40061*I -1.741233 0.0]
[-0.934304 + 0.148868*I 0.54833 + 0.073202*I -0.550725]
**********************************************************************
File "/mnt/usb1/scratch/jdemeyer/merger/sage-4.8.alpha6/devel/sage-
main/sage/matrix/matrix2.pyx", line 7991:
sage: (A - M*G).zero_at(10^-12)
Expected:
[0 0 0]
[0 0 0]
[0 0 0]
Got:
[0.0 0.0 0.0]
[0.0 0.0 0.0]
[0.0 0.0 0.0]
**********************************************************************
File "/mnt/usb1/scratch/jdemeyer/merger/sage-4.8.alpha6/devel/sage-
main/sage/matrix/matrix2.pyx", line 7995:
sage: (G*G.conjugate().transpose()).zero_at(10^-12)
Expected:
[1.0 0 0]
[ 0 1.0 0]
[ 0 0 1.0]
Got:
[1.0 0.0 0.0]
[0.0 1.0 0.0]
[0.0 0.0 1.0]
**********************************************************************
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8720#comment:10>
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.