diff options
Diffstat (limited to 'Lib/lib-old/poly.py')
-rw-r--r-- | Lib/lib-old/poly.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib-old/poly.py b/Lib/lib-old/poly.py index 57bd203..f89bd14 100644 --- a/Lib/lib-old/poly.py +++ b/Lib/lib-old/poly.py @@ -7,7 +7,7 @@ def normalize(p): # Strip unnecessary zero coefficients n = len(p) - while p: + while n: if p[n-1]: return p[:n] n = n-1 return [] |