#20214: Type inconsistencies in polynomial factorization
-------------------------------------+-------------------------------------
Reporter: vdelecroix | Owner:
Type: defect | Status: needs_work
Priority: major | Milestone: sage-7.1
Component: algebra | Resolution:
Keywords: | Merged in:
Authors: Benjamin Hackl | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/behackl/polynomial/unit-parent- | e7d04c28ada863dd70b254707848bb57d3e65a35
inconsistent | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by vdelecroix):
And still the free group has no base ring... you would better do
{{{
try:
unit = self.__universe.base_ring().one()
except XXX:
try:
unit = self.__universe.one()
except XXX
unit = Integer(1)
}}}
And as Travis mentionned in [comment:6 comment:6] it is not clear to me
either if this is the way to go.
--
Ticket URL: <http://trac.sagemath.org/ticket/20214#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 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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.