Skip to content

Commit

Permalink
Update spline.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Setsugennoao committed Aug 4, 2024
1 parent 285be1f commit 2d7eeb9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vskernels/kernels/spline.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ def _naturalCubicSpline(self, values: list[int]) -> list[float]:
# derivatives match
eqns += [
(
[0] * (4 * i) +
[3 * (i + 1) ** 2, 2 * (i + 1), 1, 0] +
[-3 * (i + 1) ** 2, -2 * (i + 1), -1, 0] +
[0] * (4 * i) + # noqa: W504
[3 * (i + 1) ** 2, 2 * (i + 1), 1, 0] + # noqa: W504
[-3 * (i + 1) ** 2, -2 * (i + 1), -1, 0] + # noqa: W504
[0] * (4 * (n - i - 2))
)
for i in range(n - 1)
Expand Down

0 comments on commit 2d7eeb9

Please sign in to comment.