Skip to content

Commit

Permalink
Delete whitespace in test
Browse files Browse the repository at this point in the history
  • Loading branch information
tomicapretto committed Apr 28, 2024
1 parent 512cb01 commit 294aa64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/sampling/test_mcmc.py
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ def test_sample_var_names_draws():
x = rng.normal(size=100)
y = rng.normal(size=100)

group_values, group_idx = np.unique(group, return_inverse=True)
group_values, group_idx = np.unique(group, return_inverse=True)

coords = {"group": group_values}

Expand All @@ -721,7 +721,7 @@ def test_sample_var_names_draws():
b_group = pm.Normal("b_group", dims="group")
b_x = pm.Normal("b_x")
mu = pm.Deterministic("mu", b_group[group_idx] + b_x * x)
sigma = pm.HalfNormal("sigma")
sigma = pm.HalfNormal("sigma")
pm.Normal("y", mu=mu, sigma=sigma, observed=y)

# Sample with and without var_names, but always with the same seed
Expand Down

0 comments on commit 294aa64

Please sign in to comment.