mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-17 10:44:45 +03:00
Fix coefficients calculation
This commit is contained in:
parent
2e1a3c29aa
commit
dc1fae26c2
|
@ -184,7 +184,6 @@ precompute_coeffs(int inSize, int outSize, struct filter *filterp,
|
||||||
} else if (x == xmax - 1) {
|
} else if (x == xmax - 1) {
|
||||||
xmax -= 1;
|
xmax -= 1;
|
||||||
}
|
}
|
||||||
continue;
|
|
||||||
}
|
}
|
||||||
k[x] = w;
|
k[x] = w;
|
||||||
ww += w;
|
ww += w;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user