Skip to content

Commit f9f0976

Browse files
Remove unused for loop
1 parent bf0bbe3 commit f9f0976

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

causal_testing/testing/estimators.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,9 +307,6 @@ def __init__(
307307
terms = [treatment] + sorted(list(adjustment_set)) + sorted(list(effect_modifiers))
308308
self.formula = f"{outcome} ~ {'+'.join(terms)}"
309309

310-
for term in self.effect_modifiers:
311-
self.adjustment_set.add(term)
312-
313310
def add_modelling_assumptions(self):
314311
"""
315312
Add modelling assumptions to the estimator. This is a list of strings which list the modelling assumptions that

0 commit comments

Comments
 (0)