Skip to content

Commit

Permalink
scale: Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
LightArrowsEXE committed Jan 17, 2024
1 parent 2f4a880 commit 640074b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions vsscale/scale.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def _linear_scale(

@inject_self.property
def kernel_radius(self) -> int:
return self.ref.kernel_radius
return self.scaler.kernel_radius


@dataclass
Expand Down Expand Up @@ -208,7 +208,9 @@ def normalize(self, clip: vs.VideoNode, cast_to: tuple[int, int, int, int, int,


class Waifu2xScaleHelper(ProcessVariableResClip):
def __init__(self, clip: vs.VideoNode, backend: object, backend_kwargs: KwargsT, kwargs: KwargsT, cache_size: int) -> None:
def __init__(
self, clip: vs.VideoNode, backend: object, backend_kwargs: KwargsT, kwargs: KwargsT, cache_size: int
) -> None:
super().__init__(clip, cache_size=cache_size)

self.kwargs = kwargs
Expand Down

0 comments on commit 640074b

Please sign in to comment.