Skip to content

Commit 76b4dfb

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 81c1158 commit 76b4dfb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/handbook/concepts.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,4 +235,4 @@ Filters comparison table
235235
|:data:`Resampling.MKS2013` | ⭐⭐⭐⭐ | ⭐⭐⭐⭐ ||
236236
+---------------------------+-------------+-----------+-------------+
237237
|:data:`Resampling.MKS2021` | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ ||
238-
+---------------------------+-------------+-----------+-------------+
238+
+---------------------------+-------------+-----------+-------------+

src/libImaging/Resample.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ mks_2013_filter(double x) {
8787
if (x < 0.5)
8888
return 17.0 / 16.0 - 7.0 / 4.0 * pow(x, 2.0);
8989
if (x < 1.5)
90-
return (1.0 - x) * (7.0/4.0 - x);
90+
return (1.0 - x) * (7.0 / 4.0 - x);
9191
if (x < 2.5)
9292
return -1.0 / 8.0 * pow(x - 5.0 / 2.0, 2.0);
9393
return (0.0);

0 commit comments

Comments
 (0)