Closed oskarhenriksson closed 1 month ago
I can reproduce this in plain Singular:
> ring R = 0, (x, y), dp;
> ideal I = x + 1, y + 1, y;
> LIB "primdec.lib";
> absPrimdecGTZ(I);
? `string`(@newvar) = `poly` is not supported
? expected `string` = `string`
? error occurred in or before primdec.lib::absPrimdecGTZ_i line 5849: ` string @newvar=@L[1
][3];`
? expected string-expression. type 'help string;'
? leaving primdec.lib::absPrimdecGTZ_i (5844)
skipping text from `)` error at token `)`
? leaving primdec.lib::absPrimdecGTZ (5756)
@hannes14
fixed in Singular with https://github.com/Singular/Singular/commit/039ba5718696de895b1111dfdc315d88c93991ea
The expected behaviour when running
absolute_primary_decomposition
for the unit ideal is to get an empty vector back, like this:However, for many cases where you have a unit ideal that is not just defined by 1, something seems to go wrong in the interface between Julia and Singular. For instance:
More specifically, the error seems to occur in line 906 of
mpoly-ideals.jl
, whereabsPrimdecGTZ
is run:This bug was discovered together with @nachogm97.