New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Superfluous line(s) and column(s) in minimal Betti Table #2705
Comments
Additional remark: In connection with the way |
There are also empty spaces. |
The empty spaces just come from the show function. The additional lines should only occur in the minimal Betti tables and should come from keys mapped to rank zero after minimizing. I would suggest to consider such entries as illegal since we also not include all the infinitely many other zeros, and remove them when generating the Betti table. |
@jankoboehm Do you already know what has to be changed with the show function? |
I think nothing has to be changed about the show function in the end. I just removed the zero entries from the hash-table and it seems to be printing just fine -- at least to all criteria that I am aware of. |
This example still produces spaces for BOTH betti_table and minimal_betti_table on my machine: R, (w, x, y, z) = graded_polynomial_ring(QQ, ["w", "x", "y", "z"]); |
That is to be expected. To remove the zero rows (which can only occur for minimal Betti tables), only the function generating the Betti table, not the show function, had to be changed. To fix the empty spaces at the end of the lines (both minimal and non-minimal case), only the show function has to be fixed. |
@HechtiDerLachs: Please adjust code.
The text was updated successfully, but these errors were encountered: