Skip to content

Commit

Permalink
suppress errors in core_stats
Browse files Browse the repository at this point in the history
Differential Revision: D54459785

fbshipit-source-id: 15e475fd83c9249c613ee1d4707dcc748f6c2ebe
  • Loading branch information
generatedunixname89002005307016 authored and facebook-github-bot committed Mar 3, 2024
1 parent 592483a commit f273966
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions balance/weighting_methods/cbps.py
Original file line number Diff line number Diff line change
Expand Up @@ -715,10 +715,12 @@ def cbps( # noqa
"gmm_optimize_result_glm_init": (
gmm_optimize_result_glm_init if cbps_method == "over" else None
),
# pyre-fixme[61]: `gmm_optimize_result_bal_init` is undefined, or not
# always defined.
"gmm_optimize_result_bal_init": (
gmm_optimize_result_bal_init if cbps_method == "over" else None
# pyre-fixme[61]: `gmm_optimize_result_bal_init` is undefined, or
# not always defined.
gmm_optimize_result_bal_init
if cbps_method == "over"
else None
),
},
}
Expand Down

0 comments on commit f273966

Please sign in to comment.