Skip to content

Commit

Permalink
fix name in test
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoralez committed Nov 1, 2024
1 parent 976699d commit ee4bd93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_ga_fns.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def test_greatest_autocovariance(dtype, season_length):
sizes = np.random.randint(2 * season_length, 100, 500)
data = np.hstack([np.arange(size, dtype=dtype) % season_length for size in sizes])
ga = GroupedArray(data, np.append(0, sizes.cumsum()))
lengths = ga._greatest_auto_covariance(50)
lengths = ga._greatest_autocovariance(50)
unique_lengths = np.unique(lengths)
assert unique_lengths.size == 1
assert unique_lengths.item() == season_length

0 comments on commit ee4bd93

Please sign in to comment.