Opened 7 years ago

Closed 7 years ago

#761 closed bug (fixed)

print(betti(), "betti") gives wrong result w.r.t. grading

Reported by: steenpass Owned by: somebody
Priority: minor Milestone: 4-1-0 and higher
Component: dontKnow Version: 4-0-3
Keywords: Cc: schreyer@…

Description

> ring r = 0, x, dp;
> module m = gen(1);
> attrib(m, "isHomog", intvec(3));
> print(betti(list(m), 0), "betti");
           0     1
------------------
    3:     -     1
    4:     1     -
------------------
total:     1     1

> 

In my opinion, the betti table should be

           0     1
------------------
    2:     -     1
    3:     1     -
------------------
total:     1     1

for this example.

@Hans: The code snippet you sent me doesn't change anything in this case.

Change History (1)

comment:1 Changed 7 years ago by hannes

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.