]> gitweb.michael.orlitzky.com - sage.d.git/commitdiff
eja: replace monomial(i) with gens()[i] most places.
authorMichael Orlitzky <michael@orlitzky.com>
Mon, 22 Feb 2021 15:27:16 +0000 (10:27 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 22 Feb 2021 15:27:16 +0000 (10:27 -0500)
The way cartesian products of combinatorial free modules are
constructed, the monomials are identified by pairs of integers rather
than single digits. This means when we're looping through monomial(i)
for i=0,1,...,n in a CartesianProductEJA, that nothing is happening:
monomial(i) is always zero. It wants e.g. monomial((i,j)) instead.
So, switch all of those to gens()[i] which works everywhere.

This fixes rank computations in cartesian product algebras.


No differences found