#10873: Bug in integer_mod powering non-invertible base and negative exponents
--------------------------------+-------------------------------------------
Reporter: robertwb | Owner: AlexGhitza
Type: defect | Status: needs_work
Priority: major | Milestone: sage-4.7
Component: basic arithmetic | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
--------------------------------+-------------------------------------------
Changes (by mariah):
* status: needs_review => needs_work
Comment:
The patch fails to apply to sage-4.7.rc2:
{{{
sage: hg_sage.apply("/home/mariah/10873-mod-pow.patch")
cd "/home/mariah/sage/sage-4.7.rc2-x86_64-Linux-core2-fc-
review-10873/devel/sage" && hg status
cd "/home/mariah/sage/sage-4.7.rc2-x86_64-Linux-core2-fc-
review-10873/devel/sage" && hg status
cd "/home/mariah/sage/sage-4.7.rc2-x86_64-Linux-core2-fc-
review-10873/devel/sage" && hg import "/home/mariah/10873-mod-pow.patch"
applying /home/mariah/10873-mod-pow.patch
patching file sage/rings/finite_rings/integer_mod.pyx
Hunk #2 FAILED at 1637
Hunk #5 FAILED at 2131
Hunk #7 FAILED at 2933
3 out of 8 hunks FAILED -- saving rejects to file
sage/rings/finite_rings/integer_mod.pyx.rej
abort: patch failed to apply
sage:
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10873#comment:3>
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.