Opened 9 years ago
Closed 9 years ago
#527 closed bug (fixed)
primdecZ() fails for ideal I=1
Reported by: | Owned by: | pfister | |
---|---|---|---|
Priority: | minor | Milestone: | Release 4-0-0 |
Component: | singular-libs | Version: | spielwiese |
Keywords: | primdecZ fails ideal | Cc: |
Description
minimal failing example:
ring rng = integer,x,dp; ideal I=1; minAssZ(I); primdecZ(I); //error: "identifier A not found in Rhelp"
Change History (6)
comment:1 Changed 9 years ago by
comment:2 Changed 9 years ago by
i confirmed this report with the current SW. The output is as follows:
> minAssZ(I); empty list > primdecZ(I); //error: "identifier A not found in Rhelp" // ** redefining A ** ? identifier A not found in Rhelp ? error occurred in or before primdecint.lib::primdecZ line 180: ` list A = imap(Rhelp,A);` ? leaving primdecint.lib::primdecZ skipping text from `;` error at token `)`
comment:3 Changed 9 years ago by
Owner: | changed from somebody to pfister |
---|
comment:4 Changed 9 years ago by
The list A is initialized in primdecZ as a list without assigning a ring-related entry. Hence the list does not belong to the ring, but to the ring-independent variables as long as no ring-related entry is assigned.
Suggested Bug-Fix: list A=ideal(0); in line 97 (formerly list A;) and then make sure to always skip first entry of list A. This glues it to the ring Rhelp.
Best regards, Anne
comment:6 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
forgot to load "primdecint.lib" in example. Updated failing example: