#10047: ZeroDivisionError in crt method of IntegerMod
-------------------------------+--------------------------------------------
Reporter: roed | Owner: AlexGhitza
Type: defect | Status: needs_work
Priority: minor | Milestone: sage-4.6
Component: algebra | Keywords:
Author: David Roe | Upstream: N/A
Reviewer: Paul Zimmermann | Merged:
Work_issues: |
-------------------------------+--------------------------------------------
Changes (by zimmerma):
* status: needs_review => needs_work
Comment:
by the way, the following doctest fails with this patch (with Sage 4.5.3):
{{{
The following tests failed:
sage -t "devel/sage-10047/sage/misc/trace.py"
}}}
The detailed error is:
{{{
[zimme...@coing sage-4.5.3]$ sage -t devel/sage-10047/sage/misc/trace.py
sage -t "devel/sage-10047/sage/misc/trace.py"
**********************************************************************
File "/usr/local/sage-4.5.3/sage/devel/sage-10047/sage/misc/trace.py",
line 61:
sage: print s.before[s.before.find('-'):]
Expected:
---...
ipdb> c
2 * 5
Got:
----------------------------------------------------------------------
| Sage Version 4.5.3, Release Date: 2010-09-04 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
trace('print factor(10)'); print 3+97
s
c
Loading Sage library. Current Mercurial branch is:
**********************************************************************
1 items had failures:
1 of 10 in __main__.example_1
***Test Failed*** 1 failures.
For whitespace errors, see the file
/home/zimmerma/.sage//tmp/.doctest_trace.py
[4.5 s]
}}}
It works ok with vanilla 4.5.3.
Paul
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10047#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.