Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Setsugennoao committed Oct 15, 2023
1 parent f746ad9 commit 81a29e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vskernels/kernels/complex.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 81a29e7

Please sign in to comment.