Changes between Version 35 and Version 36 of Ticket #25076


Ignore:
Timestamp:
04/02/18 14:55:14 (3 years ago)
Author:
SimonKing
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25076 – Description

    v35 v36  
    164164
    165165What #24742 doesn't fix:
    166 1. Multiplication of a matrix with a scalar that is given as an 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.
     1661. 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.
    1671672. 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.