13 | | In addition, I notice that the current implementation of _mul_long for Matrix_gfpn_dense doesn't convert an integer into ~~GF(p^n,'x')~~ by reduction modulo p, but by some conversion used by !MeatAxe. For instance, 4 would be converted to the number x+1 in GF(9,'x'). I didn't notice it before since in my cohomology applications I work with matrices over prime fields, where the different conversions happen to coincide. |

| 13 | In addition, I notice that the current implementation of _mul_long for Matrix_gfpn_dense doesn't convert an integer into `GF(p^n,'x')` by reduction modulo p, but by some conversion used by !MeatAxe. For instance, 4 would be converted to the number x+1 in GF(9,'x'). I didn't notice it before since in my cohomology applications I work with matrices over prime fields, where the different conversions happen to coincide. |