@@ -77,13 +77,13 @@ def __init__(
7777 assert isinstance (
7878 sampler_args , SamplerArgs
7979 ) # make the typechecker happy
80- self ._iter_sampling :int = _CMDSTAN_SAMPLING
80+ self ._iter_sampling : int = _CMDSTAN_SAMPLING
8181 if sampler_args .iter_sampling is not None :
8282 self ._iter_sampling = sampler_args .iter_sampling
83- self ._iter_warmup :int = _CMDSTAN_WARMUP
83+ self ._iter_warmup : int = _CMDSTAN_WARMUP
8484 if sampler_args .iter_warmup is not None :
8585 self ._iter_warmup = sampler_args .iter_warmup
86- self ._thin :int = _CMDSTAN_THIN
86+ self ._thin : int = _CMDSTAN_THIN
8787 if sampler_args .thin is not None :
8888 self ._thin = sampler_args .thin
8989 self ._is_fixed_param = sampler_args .fixed_param
@@ -286,8 +286,12 @@ def _validate_csv_files(self) -> Dict[str, Any]:
286286 Raises exception when inconsistencies detected.
287287 """
288288 if not self ._is_fixed_param :
289- self ._divergences : np .ndarray = np .zeros (self .runset .chains , dtype = int )
290- self ._max_treedepths : np .ndarray = np .zeros (self .runset .chains , dtype = int )
289+ self ._divergences : np .ndarray = np .zeros (
290+ self .runset .chains , dtype = int
291+ )
292+ self ._max_treedepths : np .ndarray = np .zeros (
293+ self .runset .chains , dtype = int
294+ )
291295
292296 dzero = {}
293297 for i in range (self .chains ):
@@ -369,7 +373,7 @@ def _check_sampler_diagnostics(self) -> None:
369373 'Use function "diagnose()" to see further information.'
370374 )
371375 get_logger ().warning ('\n \t ' .join (diagnostics ))
372-
376+
373377 def _assemble_draws (self ) -> None :
374378 """
375379 Allocates and populates the step size, metric, and sample arrays
0 commit comments