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 5297c64 commit fcb73a8Copy full SHA for fcb73a8
1 file changed
cmdstanpy/stanfit.py
@@ -1442,7 +1442,7 @@ def stan_variable(
1442
1443
def stan_variables(
1444
self, inc_iterations: bool = False
1445
- ) -> Dict[str, np.ndarray]:
+ ) -> Dict[str, Union[np.ndarray, float]]:
1446
"""
1447
Return a dictionary mapping Stan program variables names
1448
to the corresponding numpy.ndarray containing the inferred values.
@@ -2178,7 +2178,7 @@ def stan_variable(
2178
assert isinstance(result, (np.ndarray, float))
2179
return result
2180
2181
- def stan_variables(self) -> Dict[str, np.ndarray]:
+ def stan_variables(self) -> Dict[str, Union[np.ndarray, float]]:
2182
2183
2184
0 commit comments