Changes between Version 35 and Version 36 of Ticket #25076
 Timestamp:
 04/02/18 14:55:14 (3 years ago)
Legend:
 Unmodified
 Added
 Removed
 Modified

Ticket #25076 – Description
v35 v36 164 164 165 165 What #24742 doesn't fix: 166 1. Multiplication of a matrix with a scalar that is given as a n integer doesn't use _mul_long() should be used, which is supported by sage.structure.element but isn't used anywhere in sage.matrix except in sage.matrix.matrix_gfpn_dense.166 1. Multiplication of a matrix with a scalar that is given as a Python int fails to use _mul_long(), which is supported by sage.structure.element but isn't used anywhere in sage.matrix except in sage.matrix.matrix_gfpn_dense. 167 167 2. The _mul_long implementation of Matrix_gfpn_dense is flawed, as it *should* do a coercion of the given integer into the underlying base ring (which is by computing the remainder modulo the modulus of the base ring), but currently uses a different way of conversion.