Skip to content

Commit e5d32f6

Browse files
committed
Replaced with .
1 parent 4460be6 commit e5d32f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

causalpy/pymc_models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -461,8 +461,8 @@ def build_model(self, X, t, coords):
461461
"Defines the PyMC propensity model"
462462
with self:
463463
self.add_coords(coords)
464-
X_data = pm.MutableData("X", X, dims=["obs_ind", "coeffs"])
465-
t_data = pm.MutableData("t", t.flatten(), dims="obs_ind")
464+
X_data = pm.Data("X", X, dims=["obs_ind", "coeffs"])
465+
t_data = pm.Data("t", t.flatten(), dims="obs_ind")
466466
b = pm.Normal("b", mu=0, sigma=1, dims="coeffs")
467467
mu = pm.math.dot(X_data, b)
468468
p = pm.Deterministic("p", pm.math.invlogit(mu))

0 commit comments

Comments
 (0)