Skip to content

Commit

Permalink
Update HomologicalShiftIdeals.m2
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonino-Ficarra authored and d-torrance committed Oct 7, 2024
1 parent 5efbb30 commit 134e3ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion M2/Macaulay2/packages/HomologicalShiftIdeals.m2
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ toMonomial (Ring,List) := (S,l) -> (
n:=numgens S-1;
u:=1;
j:=0;
if #l != n+1 then error "the list does not have the right lenght";
if #l != n+1 then error "the list does not have the right length";
product(n + 1, i -> S_i^(l#i))
);

Expand Down

0 comments on commit 134e3ab

Please sign in to comment.