#11358: matrix multiplication over ZZ sometimes gives incorrect results
------------------------------+---------------------------------------------
Reporter: tomc | Owner: jason, was
Type: defect | Status: new
Priority: critical | Milestone: sage-4.7.1
Component: linear algebra | Keywords: matrix multiplication,
multi-modular, integers, ZZ
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
------------------------------+---------------------------------------------
Comment(by tomc):
Looking at the function mpz_crt_vec_tail() in sage/ext/multi_modular.pyx,
it appears that three of the last five lines:
{{{
cdef Integer zz
zz = PY_NEW(Integer)
mpz_set(zz.value, self.half_product)
}}}
are redundant, because the variable zz is never used. (NB I am unfamiliar
with both Cython and GMP, so I may be wrong here.) But why is this code
there? Is it supposed to be doing something else?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11358#comment:2>
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.