From 7ed955987816581f8205431fd7aec2e7d0e0bbba Mon Sep 17 00:00:00 2001 From: Antonino Ficarra <163297777+Antonino-Ficarra@users.noreply.github.com> Date: Fri, 13 Sep 2024 18:06:57 +0200 Subject: [PATCH] Update MatchingPowers.m2 --- M2/Macaulay2/packages/MatchingPowers.m2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/M2/Macaulay2/packages/MatchingPowers.m2 b/M2/Macaulay2/packages/MatchingPowers.m2 index 39b8e2ad34..b2370ffb8c 100644 --- a/M2/Macaulay2/packages/MatchingPowers.m2 +++ b/M2/Macaulay2/packages/MatchingPowers.m2 @@ -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)) );