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]])
-
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
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
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