[sage-support] Sage 10.4 ExteriorAlgebra lifted_bilinear_form doesn't handle int matrix

2025-03-07 Thread Seth Chaiken
E = ExteriorAlgebra(QQ,['e'],2) E.inject_variables() bf = E.lifted_bilinear_form(matrix.identity(2)) bf(e0, e0) > 1/0 bf(e0*e1,e0*e1) Flint exception (General error): Exception (fmpz_divexact). Division by zero. But it does work with matrix(QQ,[[1,0],[0,1]]) -

[sage-support] Re: Sage 10.4 matrix mult fails on matrices over an exterior algebra

2025-03-07 Thread Nils Bruin
I can confirm that changing in sage.matrix.matrix_generic_dense.Matrix_generic_dense._multiply_classical the line from left._entries[m+k]._mul_ to just left._entries[m+k]* , the code works as expected. So the problem is probably the _mul_. I think this is a general problem that was not discover

[sage-support] Re: Sage 10.4 matrix mult fails on matrices over an exterior algebra

2025-03-07 Thread Trevor Karn
https://github.com/sagemath/sage/issues/39648 I am no guru but I think I can tackle it. On Friday, March 7, 2025 at 11:47:31 AM UTC-6 Nils Bruin wrote: > I can confirm that changing in > sage.matrix.matrix_generic_dense.Matrix_generic_dense._multiply_classical > the line from left._entries[m+k

Re: [sage-support] Build failure when installing SciPy

2025-03-07 Thread Dima Pasechnik
It looks indeed as an insufficient RAM for the C++ compiler. Do you have a fixed amount of RAM allocated to WSL? It should better be 4Gb or more. I am not sure what "free -h" is showing here. If RAM is dynamically shared between Windows and WSL, it doesn't mean much. Try re-running "make" On