Skip to content

Commit

Permalink
Fix bugs and typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lionelkusch committed Jan 7, 2025
1 parent 9c69a8f commit 12edb23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_scenario.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def test_multivariate_1D_simulation():
)
corr_X = np.corrcoef(X)
from itertools import product

groups = [[0, 1, 2], [3, 4, 5]]
for g in groups:
for i, j in product(g, g):
Expand All @@ -80,7 +81,7 @@ def test_multivariate_1D_simulation_exception():

with pytest.raises(
ValueError,
match="The number of samples is too small compate to the number "
match="The number of samples is too small compared to the number "
"of group and their size to gerate the data.",
):
multivariate_1D_simulation(n_samples=10, n_groups=2, group_size=6)
Expand Down

0 comments on commit 12edb23

Please sign in to comment.