Skip to content

Commit 4e6159d

Browse files
committed
lint fix
1 parent 56ac6b2 commit 4e6159d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

cmdstanpy/stanfit/mcmc.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,11 @@ def metric_type(self) -> Optional[str]:
177177
to CmdStan arg 'metric'.
178178
When sampler algorithm 'fixed_param' is specified, metric_type is None.
179179
"""
180-
return self._metadata.cmdstan_config['metric'] if not self._is_fixed_param else None
180+
return (
181+
self._metadata.cmdstan_config['metric']
182+
if not self._is_fixed_param
183+
else None
184+
)
181185

182186
@property
183187
def metric(self) -> Optional[np.ndarray]:

0 commit comments

Comments
 (0)