#11750: CRT_list not working for non-coprime moduli
-----------------------------------------------------------------------+----
Reporter: mderickx |
Owner: tbd
Type: defect |
Status: positive_review
Priority: major |
Milestone: sage-4.7.2
Component: basic arithmetic |
Keywords:
Work_issues: |
Upstream: N/A
Reviewer: Luis Felipe Tabera Alonso, Wai Yan Pong, Leif Leonhardy |
Author: Maarten Derickx
Merged: |
Dependencies:
-----------------------------------------------------------------------+----
Comment(by leif):
Replying to [comment:18 pong]:
> Unfortunately, on my local machine I've already applied the patch to the
main branch.
> The output of
> sage -t --long -force_lib "devel/sage/sage/tests/cmdline.py
> is attached above
You can do the following to unapply the patch:
{{{
#!sh
~/Sage/sage-4.7.2.alpha1/devel/sage$ hg log | head -15
changeset: 15994:b0440a76e01f
tag: tip
user: Maarten Derickx <[email protected]>
date: Fri Aug 26 11:41:55 2011 -0700
summary: 11750 fix CRT_list for non coprime moduli
changeset: 15993:6d083e3d29a3
user: Jeroen Demeyer <[email protected]>
date: Wed Aug 17 16:07:36 2011 +0000
summary: 4.7.2.alpha1
changeset: 15992:5a8bb5f7dbef
user: Jeroen Demeyer <[email protected]>
date: Wed Aug 17 12:37:58 2011 +0000
summary: Added tag 4.7.2.alpha1 for changeset aee2c735d079
}}}
Take the revision number (currently 5 digits) of the changeset right
before you applied the patch, and then do
{{{
#!sh
~/Sage/sage-4.7.2.alpha1/devel/sage$ hg update -r <number> # 15993 in this
case
...
~/Sage/sage-4.7.2.alpha1/devel/sage$ ../../sage -b # rebuild the Sage
library
...
}}}
Then you can rerun tests without the patch.
Try e.g. `hg help update` for further options.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11750#comment:19>
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.