-
-
Notifications
You must be signed in to change notification settings - Fork 559
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CC and CDF do not display numeric 0 #8720
Comments
Author: Jason Grout |
comment:1
I think CDF and CC should display the same output as RDF and RR, respectively. CCing zimmerma since he may be interested in reviewing this. |
comment:2
since I was asked to review this ticket, I first notice that some doctests do not pass any more,
thus some more work is needed. Please check all doctests still pass. |
comment:3
Thanks for looking at it. When I ran the doctests, a number of them failed, so I posted to sage-devel and kept this ticket as "needs work". I will set it to "needs review" when I've taken care of the failing doctests. Thanks again. |
comment:4
I'm going to run the tests shortly and produce an doctest fixing patch. |
comment:6
I've attached a patch which should fix all of the doctests in 4.8.alpha4. |
comment:7
note that a consequence of that ticket is that coefficients 0 that were not displayed in Taylor
(Before this ticket, the leading I find it good, since those 0.0 values can come from numerical cancellation. Paul |
Reviewer: Paul Zimmermann |
Changed author from Jason Grout to Jason Grout, Mike Hansen |
comment:8
all tests work on top of Sage 4.7.2, I give a positive review. Paul |
comment:9
Just doing the radio button for this. Nice teamwork on this! |
comment:10
A few more doctests need to be fixed:
|
comment:11
sorry, but there is no such doctest in 4.7.2. There must be some interaction with some Paul |
comment:12
Replying to @zimmermann6:
Probably Jeroen is referring to doctests in the latest alpha, on which (for better or for worse) patches need to be based on. |
comment:13
*** bump *** |
comment:14
I posted a patch fixing these problems. |
Work Issues: rebase to current beta |
comment:22
I'm afraid that, according to the patchbot, this new patch works on latest release (4.8) but fails a doctest on 5.0.beta3, and doesn't even apply to 5.0.beta11. |
Attachment: trac-8720-printing-complex-zero.patch.gz |
Attachment: trac_8720-doctests.patch.gz Attachment: trac_8720-doctests-2.patch.gz |
comment:23
I've rebased the files on beta11. |
Changed work issues from rebase to current beta to none |
Work Issues: fix doctests |
comment:24
The beta11 patchbot brings up some doctest failures:
|
Attachment: trac_8720-doctests-3.patch.gz apply this patch on top of the other three |
Changed author from Jason Grout, Mike Hansen to Jason Grout, Mike Hansen, Paul Zimmermann |
comment:25
I have attached a patch for sage-5.0.beta11, which makes the 4 doctests from comment [comment:24] work. Note that the change in Paul |
comment:26
changed description for the patchbot. Paul |
This comment has been minimized.
This comment has been minimized.
comment:27
Seems to work fine on these files. Running long doctests now but I don't anticipate any more problems. As to constructor.py, the |
Changed work issues from fix doctests to none |
Merged: sage-5.0.beta14 |
Look at the inconsistency:
versus
Apply attachment: trac-8720-printing-complex-zero.patch, attachment: trac_8720-doctests.patch, attachment: trac_8720-doctests-2.patch
and attachment: trac_8720-doctests-3.patch.
CC: @zimmermann6 @mwhansen
Component: basic arithmetic
Author: Jason Grout, Mike Hansen, Paul Zimmermann
Reviewer: Paul Zimmermann, Karl-Dieter Crisman
Merged: sage-5.0.beta14
Issue created by migration from https://trac.sagemath.org/ticket/8720
The text was updated successfully, but these errors were encountered: