We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56ac6b2 commit 4e6159dCopy full SHA for 4e6159d
cmdstanpy/stanfit/mcmc.py
@@ -177,7 +177,11 @@ def metric_type(self) -> Optional[str]:
177
to CmdStan arg 'metric'.
178
When sampler algorithm 'fixed_param' is specified, metric_type is None.
179
"""
180
- return self._metadata.cmdstan_config['metric'] if not self._is_fixed_param else None
+ return (
181
+ self._metadata.cmdstan_config['metric']
182
+ if not self._is_fixed_param
183
+ else None
184
+ )
185
186
@property
187
def metric(self) -> Optional[np.ndarray]:
0 commit comments