Skip to content

Commit 61e2e13

Browse files
committed
fix
1 parent 7d0051a commit 61e2e13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dte_adj/stratified.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def _compute_cumulative_distribution(
7373
for s in s_list:
7474
s_mask = strata == s
7575
w_s[s] = (s_mask & treatment_mask).sum() / s_mask.sum()
76-
for i, outcome in enumerate(n_loc):
76+
for i, outcome in enumerate(locations):
7777
for j in range(n_records):
7878
s = strata[j]
7979
prediction[j, i] = (outcomes[j] <= outcome) / w_s[s] * treatment_mask[j]

0 commit comments

Comments
 (0)