From 76b4dfb50001b870aaedabf85eba8cf1c99d3edc Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 4 Apr 2025 20:11:49 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- docs/handbook/concepts.rst | 2 +- src/libImaging/Resample.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/handbook/concepts.rst b/docs/handbook/concepts.rst index a9cef3847..b0183a34a 100644 --- a/docs/handbook/concepts.rst +++ b/docs/handbook/concepts.rst @@ -235,4 +235,4 @@ Filters comparison table |:data:`Resampling.MKS2013` | ⭐⭐⭐⭐ | ⭐⭐⭐⭐ | ⭐ | +---------------------------+-------------+-----------+-------------+ |:data:`Resampling.MKS2021` | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ⭐ | -+---------------------------+-------------+-----------+-------------+ \ No newline at end of file ++---------------------------+-------------+-----------+-------------+ diff --git a/src/libImaging/Resample.c b/src/libImaging/Resample.c index aab377888..89deef5ec 100644 --- a/src/libImaging/Resample.c +++ b/src/libImaging/Resample.c @@ -87,7 +87,7 @@ mks_2013_filter(double x) { if (x < 0.5) return 17.0 / 16.0 - 7.0 / 4.0 * pow(x, 2.0); if (x < 1.5) - return (1.0 - x) * (7.0/4.0 - x); + return (1.0 - x) * (7.0 / 4.0 - x); if (x < 2.5) return -1.0 / 8.0 * pow(x - 5.0 / 2.0, 2.0); return (0.0);