Opened 11 years ago

Closed 11 years ago

#387 closed bug (fixed)

indepSet() gives strange result

Reported by: steenpass Owned by: steenpass
Priority: minor Milestone: 3-1-4 and higher
Component: dontKnow Version: 3-1-3
Keywords: indepSet Cc:

Description

> ring r = 0, x, dp;
> ideal i = 1;
> indepSet(std(i));
32636

The manual only says:

If v is the result then v[i] is 1 if and only if the i-th variable of the ring, x(i), is an independent variable. Hence, the set U consisting of all variables x(i) with v[i]=1 is a maximal independent set.

So this result is not exactly wrong, but I rather expect a single 0 as an intvec.

Change History (2)

comment:1 Changed 11 years ago by steidel

Owner: changed from somebody to steenpass

comment:2 Changed 11 years ago by steenpass

Resolution: fixed
Status: newclosed

Fixed by Christian with commit ac830bd.

Note: See TracTickets for help on using tickets.