From 8e6c64e3480e5fa81c62b40795529f638cbc342b Mon Sep 17 00:00:00 2001 From: Thomas Aarholt Date: Mon, 29 May 2023 20:04:31 +0200 Subject: [PATCH] fix tiny error in overload definition --- pymc/sampling/mcmc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymc/sampling/mcmc.py b/pymc/sampling/mcmc.py index baf2946de5..290d2a0083 100644 --- a/pymc/sampling/mcmc.py +++ b/pymc/sampling/mcmc.py @@ -348,7 +348,7 @@ def sample( discard_tuned_samples: bool = True, compute_convergence_checks: bool = True, keep_warning_stat: bool = False, - return_inferencedata: Literal[True], + return_inferencedata: Literal[True] = True, idata_kwargs: Optional[Dict[str, Any]] = None, nuts_sampler_kwargs: Optional[Dict[str, Any]] = None, callback=None,