From 81a29e7693fb45440c1a51ab0040c075111423be Mon Sep 17 00:00:00 2001 From: Setsugennoao <41454651+Setsugennoao@users.noreply.github.com> Date: Sun, 15 Oct 2023 17:33:35 +0200 Subject: [PATCH] Fix typo --- vskernels/kernels/complex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vskernels/kernels/complex.py b/vskernels/kernels/complex.py index 36a8a8c..70cf2df 100644 --- a/vskernels/kernels/complex.py +++ b/vskernels/kernels/complex.py @@ -32,7 +32,7 @@ def func( from ..util import LinearLight has_custom_op = hasattr(self, f'_linear_{op_name}') - operation = getattr(self, f'_linear_{op_name}') if has_custom_op else super().scale # type: ignore + operation = getattr(self, f'_linear_{op_name}') if has_custom_op else getattr(super(), op_name) sigmoid = self.orig_kwargs.get('sigmoid', sigmoid) linear = self.orig_kwargs.get('linear', False) or linear or not not sigmoid