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