From 294aa6480454e8b6691586e1c24340f935a1435e Mon Sep 17 00:00:00 2001 From: Tomas Capretto Date: Sun, 28 Apr 2024 11:13:53 -0300 Subject: [PATCH] Delete whitespace in test --- tests/sampling/test_mcmc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/sampling/test_mcmc.py b/tests/sampling/test_mcmc.py index 0ecdc8210c..1127cb0df5 100644 --- a/tests/sampling/test_mcmc.py +++ b/tests/sampling/test_mcmc.py @@ -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} @@ -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