#8040: given that m,n are optional inputs to CRT(a,b,m,n), given a,b mod m,n
should work
--------------------------------+-------------------------------------------
Reporter: was | Owner: AlexGhitza
Type: defect | Status: new
Priority: minor | Milestone: sage-4.3.2
Component: basic arithmetic | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
--------------------------------+-------------------------------------------
I think this should work:
{{{
sage: CRT(Mod(3,19), Mod(5, 13))
...
ValueError: arguments a and b must be coprime
}}}
This fix is to check the gcd precondition more carefully.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8040>
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.