Skip to content

Commit c3b9b20

Browse files
committed
fixed mypy
1 parent 31f2405 commit c3b9b20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymc/sampling/mcmc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ def sample(
348348
discard_tuned_samples: bool = True,
349349
compute_convergence_checks: bool = True,
350350
keep_warning_stat: bool = False,
351-
return_inferencedata: Literal[True] = True,
351+
return_inferencedata: Literal[True],
352352
idata_kwargs: Optional[Dict[str, Any]] = None,
353353
nuts_sampler_kwargs: Optional[Dict[str, Any]] = None,
354354
callback=None,
@@ -377,7 +377,7 @@ def sample(
377377
discard_tuned_samples: bool = True,
378378
compute_convergence_checks: bool = True,
379379
keep_warning_stat: bool = False,
380-
return_inferencedata: bool = False,
380+
return_inferencedata: Literal[False],
381381
idata_kwargs: Optional[Dict[str, Any]] = None,
382382
nuts_sampler_kwargs: Optional[Dict[str, Any]] = None,
383383
callback=None,

0 commit comments

Comments
 (0)