#17527: Echelon form of a matrix is sometimes pickled incorrectly
-----------------------------------------+------------------------
Reporter: pbruin | Owner:
Type: defect | Status: new
Priority: minor | Milestone: sage-6.5
Component: pickling | Resolution:
Keywords: matrix echelon pickle | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-----------------------------------------+------------------------
Description changed by pbruin:
Old description:
> The following bug seems to be somewhat subtle; for example, the wrong
> result does not arise when using the polynomial ring instead of its
> fraction field, or when changing the ordering of the pair `t`.
> {{{
> sage: K.<x> = FractionField(QQ['x'])
> sage: m = Matrix([[1], [x]])
> sage: t = (m, m.echelon_form())
> sage: s = dumps(t)
> sage: t
> (
> [1] [1]
> [x], [0]
> )
> sage: loads(s) # wrong, should be the same as above
> (
> [1]
> [x], [1, x]
> )
> }}}
> This is a dependency of #10513.
New description:
The following bug seems to be somewhat subtle; for example, the wrong
result does not arise when using the polynomial ring instead of its
fraction field, or when changing the ordering of the pair `t`.
{{{
sage: K.<x> = FractionField(QQ['x'])
sage: m = Matrix([[1], [x]])
sage: t = (m, m.echelon_form())
sage: s = dumps(t)
sage: t
(
[1] [1]
[x], [0]
)
sage: loads(s) # wrong, should be the same as above
(
[1]
[x], [1, x]
)
}}}
--
--
Ticket URL: <http://trac.sagemath.org/ticket/17527#comment:1>
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.