From d7dddc8772b04a6895902ea6e3f72be1ebf21a86 Mon Sep 17 00:00:00 2001 From: Atsushi Sakai Date: Sun, 8 Mar 2020 22:51:47 +0900 Subject: [PATCH] mypy fail test --- PathPlanning/BSplinePath/bspline_path.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PathPlanning/BSplinePath/bspline_path.py b/PathPlanning/BSplinePath/bspline_path.py index d4b24c76..7c59e99b 100644 --- a/PathPlanning/BSplinePath/bspline_path.py +++ b/PathPlanning/BSplinePath/bspline_path.py @@ -11,7 +11,7 @@ import matplotlib.pyplot as plt import scipy.interpolate as scipy_interpolate -def approximate_b_spline_path(x: list, y: list, n_path_points: int, +def approximate_b_spline_path(x: int, y: list, n_path_points: int, degree: int = 3) -> tuple: """ approximate points with a B-Spline path