diff --git a/M2/Macaulay2/packages/HomologicalShiftIdeals.m2 b/M2/Macaulay2/packages/HomologicalShiftIdeals.m2 index b825dc1414..a9b1269f75 100644 --- a/M2/Macaulay2/packages/HomologicalShiftIdeals.m2 +++ b/M2/Macaulay2/packages/HomologicalShiftIdeals.m2 @@ -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)) );