diff --git a/src/estimagic/estimation/msm_weighting.py b/src/estimagic/estimation/msm_weighting.py index 97e5b437b..c5bef1411 100644 --- a/src/estimagic/estimation/msm_weighting.py +++ b/src/estimagic/estimation/msm_weighting.py @@ -58,7 +58,9 @@ def func(data, **kwargs): ) # xxxx won't be necessary soon! return out - cov_arr = bootstrap(data=data, outcome=func, outcome_kwargs=moment_kwargs).cov() + cov_arr = bootstrap( + data=data, outcome=func, outcome_kwargs=moment_kwargs, **bootstrap_kwargs + ).cov() if isinstance(cov_arr, pd.DataFrame): cov_arr = cov_arr.to_numpy() # xxxx won't be necessary soon