diff --git a/tests/test_model/test_spline.py b/tests/test_model/test_spline.py index 8c806580b..b47ea8d30 100644 --- a/tests/test_model/test_spline.py +++ b/tests/test_model/test_spline.py @@ -7,7 +7,7 @@ # Utility quantities for testing -order = torch.randint(1, 8, (1,)).item() +order = torch.randint(3, 6, (1,)).item() n_ctrl_pts = torch.randint(order, order + 5, (1,)).item() n_knots = order + n_ctrl_pts diff --git a/tests/test_model/test_spline_surface.py b/tests/test_model/test_spline_surface.py index 0c288f932..dee57173c 100644 --- a/tests/test_model/test_spline_surface.py +++ b/tests/test_model/test_spline_surface.py @@ -7,7 +7,7 @@ # Utility quantities for testing -orders = [random.randint(1, 8) for _ in range(2)] +orders = [random.randint(3, 6) for _ in range(2)] n_ctrl_pts = random.randint(max(orders), max(orders) + 5) n_knots = [orders[i] + n_ctrl_pts for i in range(2)]