Skip to content

Commit 53e73ab

Browse files
committed
Change the scaling to be between 1/16 to 16
1 parent 3211be8 commit 53e73ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/aggregation/test_dual_cone_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def test_solution_weights(shape: tuple[int, int]):
5252

5353

5454
@mark.parametrize("shape", [(5, 7), (9, 37), (32, 114)])
55-
@mark.parametrize("scaling", [0.25, 0.5, 4.0, 16.0])
55+
@mark.parametrize("scaling", [2 ** (-4), 2 ** (-2), 2**2, 2**4])
5656
def test_scale_invariant(shape: tuple[int, int], scaling: float):
5757
"""
5858
Tests that `_project_weights` is invariant under scaling.

0 commit comments

Comments
 (0)