Skip to content

Commit 67d696e

Browse files
committed
resolving conflicts
1 parent 8b93362 commit 67d696e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

causalpy/pymc_models.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -952,8 +952,7 @@ def build_model(self, X, y, coords):
952952
)
953953
impulse = pm.Deterministic(
954954
"impulse",
955-
impulse_amplitude
956-
* pm.math.exp(-decay_rate * pm.math.abs(t - treatment_time)),
955+
impulse_amplitude * pm.math.exp(-decay_rate * pm.math.abs(delta_t)),
957956
dims=["obs_ind", "treated_units"],
958957
)
959958
mu_in_components.append(impulse)

0 commit comments

Comments
 (0)