#18409: Dynatomic polynomial bug for fractional coefficients
-------------------------------------+-------------------------------------
Reporter: gjorgenson | Owner: bhutz
Type: defect | Status: needs_work
Priority: minor | Milestone: sage-6.7
Component: algebraic | Resolution:
geometry | Merged in:
Keywords: | Reviewers:
Authors: Ben Hutz | Work issues:
Report Upstream: N/A | Commit:
Branch: | e777520afbd36613e52df9ed04144efc5cb4d0c6
u/bhutz/ticket/18409 | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by vdelecroix):
This is very strange
{{{
if d != n: # avoid extra iteration
...
if d != period[1]: # avoid extra iteration
}}}
You can easily predict when this happen: every time excepted the last run
of the loop. But with the above code you test in '''each''' run of the
loop whether `d == period` or not. So please, decrease the upper bound of
the loop by one and copy the command that has to be executed. It would be
cleaner and clearer.
--
Ticket URL: <http://trac.sagemath.org/ticket/18409#comment:8>
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.
For more options, visit https://groups.google.com/d/optout.