Skip to content

Commit b0e0b3f

Browse files
fix order in spline tests
1 parent 2d39f62 commit b0e0b3f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/test_model/test_spline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
# Utility quantities for testing
10-
order = torch.randint(1, 8, (1,)).item()
10+
order = torch.randint(3, 6, (1,)).item()
1111
n_ctrl_pts = torch.randint(order, order + 5, (1,)).item()
1212
n_knots = order + n_ctrl_pts
1313

tests/test_model/test_spline_surface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
# Utility quantities for testing
10-
orders = [random.randint(1, 8) for _ in range(2)]
10+
orders = [random.randint(3, 6) for _ in range(2)]
1111
n_ctrl_pts = random.randint(max(orders), max(orders) + 5)
1212
n_knots = [orders[i] + n_ctrl_pts for i in range(2)]
1313

0 commit comments

Comments
 (0)