Skip to content

Commit

Permalink
Update metalearners/metalearner.py
Browse files Browse the repository at this point in the history
Co-authored-by: Francesc Martí Escofet <[email protected]>
  • Loading branch information
kklein and FrancescMartiEscofetQC authored Jul 25, 2024
1 parent 474c598 commit 4cc4f68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metalearners/metalearner.py
Original file line number Diff line number Diff line change
Expand Up @@ -1163,7 +1163,7 @@ def init_args(self) -> dict[str, Any]:
if k in self._prefitted_nuisance_models and k != PROPENSITY_MODEL
},
"fitted_propensity_model": (
self._nuisance_models.get(PROPENSITY_MODEL)
deepcopy(self._nuisance_models.get(PROPENSITY_MODEL))
if PROPENSITY_MODEL in self._prefitted_nuisance_models
else None
),
Expand Down

0 comments on commit 4cc4f68

Please sign in to comment.