Skip to content

Commit 367c922

Browse files
committed
add dim to y_hat
1 parent a60035e commit 367c922

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

causalpy/pymc_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ class WeightedSumFitter(PyMCModel):
292292
""" # noqa: W605
293293

294294
default_priors = {
295-
"y_hat": Prior("Normal", sigma=Prior("HalfNormal", sigma=1)),
295+
"y_hat": Prior("Normal", sigma=Prior("HalfNormal", sigma=1), dims="obs_ind"),
296296
}
297297

298298
def build_model(self, X, y, coords):

0 commit comments

Comments
 (0)