Skip to content

Commit

Permalink
add warning for numgens over positive ideal
Browse files Browse the repository at this point in the history
  • Loading branch information
aryamanmaithani committed Jun 5, 2024
1 parent 136f7d6 commit 635e503
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GLIdeals.m2
Original file line number Diff line number Diff line change
Expand Up @@ -339,10 +339,12 @@ numgensGLIdeal(ZZ, ZZ, Partition) := opts -> (n, m, P) -> (
return numgensILambda(n, m, P);
);
numgensGLIdeal(Matrix, List) := opts -> (X, L) -> (
if char(ring X) != 0 then print "Matrix over positive characterstic -- answer might not be correct!"
if IsPartition(L) then return numgensILambda(X, L);
return numgensIChi(X, L, opts);
);
numgensGLIdeal(Matrix, Partition) := opts -> (X, P) -> (
if char(ring X) != 0 then print "Matrix over positive characterstic -- answer might not be correct!"
return numgensILambda(X, P);
);

Expand Down

0 comments on commit 635e503

Please sign in to comment.