#12171: Update MPFI to 1.5.0
---------------------------+------------------------------------------------
Reporter: mhansen | Owner: tbd
Type: enhancement | Status: needs_info
Priority: major | Milestone: sage-4.8
Component: packages | Keywords: sd35
Work_issues: | Upstream: N/A
Reviewer: | Author: Mike Hansen
Merged: | Dependencies:
---------------------------+------------------------------------------------
Changes (by zimmerma):
* status: needs_work => needs_info
Comment:
the attached {{{trac_12171a.patch}}} fixes all issues but two on 64-bit.
The remaining issues
are related to {{{loads(dumps(b)) == b}}}:
{{{
File
"/usr/local/sage-4.7.2/sage/devel/sage-12171/sage/rings/real_mpfi.pyx",
line 1084:
sage: loads(dumps(b)) == b
Expected:
True
Got:
False
**********************************************************************
File
"/usr/local/sage-4.7.2/sage/devel/sage-12171/sage/rings/real_mpfi.pyx",
line 1088:
sage: loads(dumps(b)) == b
Expected:
True
Got:
False
}}}
I see in {{{real_mpfi.pyx}}} that other similar tests are failing and were
rewritten in a
different way:
{{{
sage: R = RealIntervalField(4000)
sage: s = 1/R(3)
sage: t = loads(dumps(s))
sage: (t.upper(), t.lower()) == (s.upper(), s.lower())
True
}}}
Indeed {{{t==s}}} fails:
{{{
sage: t == s
False
}}}
Should I also rewrite the 2 failing tests like this? What is the reason
for the failures?
Paul
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12171#comment:12>
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.