Skip to content

Commit

Permalink
Update MatchingPowers.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 134e3ab commit 7ed9559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion M2/Macaulay2/packages/MatchingPowers.m2
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ toMonomial (Ring,List) := (S,l) -> (
n:=numgens S-1;
u:=1;
j:=0;
if not(#l==n+1) then error "the list does not have the right lenght";
if not(#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 7ed9559

Please sign in to comment.