Skip to content

Commit 917468e

Browse files
committed
nit
1 parent 7f394b3 commit 917468e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dte_adj/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def _compute_local_treatment_effects_core(
188188
bi = (Y[i] <= locations) * 1
189189
bi = bi[1:] - bi[:-1] # Convert to interval probabilities
190190
else:
191-
bi = Y[i] <= locations
191+
bi = (Y[i] <= locations) * 1
192192

193193
xi_t[i] = ((1 - 1 / w_s) * y_t_mu[i] - y_c_mu[i] + bi / w_s) - beta * (
194194
(1 - 1 / w_s) * d_t_eta[i] - d_c_eta[i] + D[i] / w_s

0 commit comments

Comments
 (0)