From f746ad94dd8f3c1c49c4a17d9d99e78803382fa5 Mon Sep 17 00:00:00 2001 From: Setsugennoao <41454651+Setsugennoao@users.noreply.github.com> Date: Sun, 15 Oct 2023 17:32:07 +0200 Subject: [PATCH] Add missing inject_self --- vskernels/kernels/complex.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vskernels/kernels/complex.py b/vskernels/kernels/complex.py index a13093c..36a8a8c 100644 --- a/vskernels/kernels/complex.py +++ b/vskernels/kernels/complex.py @@ -56,7 +56,7 @@ def scale( # type: ignore[override] ) -> vs.VideoNode: ... else: - scale = _BaseLinearOperation._linear_op('scale') + scale = inject_self.cached(_BaseLinearOperation._linear_op('scale')) class LinearDescaler(_BaseLinearOperation, Descaler): @@ -68,7 +68,7 @@ def descale( # type: ignore[override] ) -> vs.VideoNode: ... else: - descale = _BaseLinearOperation._linear_op('descale') + descale = inject_self.cached(_BaseLinearOperation._linear_op('descale')) class KeepArScaler(Scaler):