#7580: bugs in infinite polynomial ring
-----------------------+----------------------------------------------------
Reporter: was | Owner: SimonKing
Type: defect | Status: needs_work
Priority: major | Milestone: sage-4.3
Component: algebra | Keywords: infinite polynomial ring coercion
Work_issues: | Author: Simon King
Upstream: N/A | Reviewer:
Merged: |
-----------------------+----------------------------------------------------
Comment(by SimonKing):
Thank you, William!
Replying to [comment:13 was]:
> Here are the doctest failures on 32-bit Ubuntu:
[...
> sage: InfinitePolynomial(X,alpha_2)
> Expected:
> alpha_0
> Got:
> alpha_1
Interesting! The point of that doc test was to show that something does
not work: One would hope to get {{{alpha_2}}}, but due to a wrong usage
one gets {{{alpha_0}}} on my machine or {{{alpha_1}}} on 32-bit Ubuntu.
I'll try to find a better way to demonstrate "how not to use
{{{InfinitePolynomial}}}".
> **********************************************************************
> File
"/tmp/wstein/farm/sage-4.3.alpha1/devel/sage/sage/rings/polynomial/infinite_polynomial_element.py",
line 264:
> sage: hash(a)
> Expected:
> 233743571
> Got:
> -957478897
Thanks, I actually expected that the hash value has changed.
So, soon there will be a second patch that fixes the first.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7580#comment:15>
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.