Skip to content

Commit 50b2bf2

Browse files
committed
Fixed strategy equality bug
1 parent 5615169 commit 50b2bf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

causal_testing/estimation/ipcw_estimator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def preprocess_data(self):
172172
)
173173

174174
strategy_followed = [
175-
(t, var, individual.loc[individual["time"] == t, var].values[0])
175+
[t, var, individual.loc[individual["time"] == t, var].values[0]]
176176
for t, var, val in self.treatment_strategy
177177
]
178178

0 commit comments

Comments
 (0)