Skip to content
This repository was archived by the owner on Mar 19, 2021. It is now read-only.

Commit a837f3f

Browse files
authored
Fix redirection in _print_stanfit
1 parent ffdf62b commit a837f3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pystan/misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def _print_stanfit(fit, pars=None, probs=(0.025, 0.25, 0.5, 0.75, 0.975), digits
8080
# warning added in PyStan 2.17.0
8181
warnings.warn('Function `_print_stanfit` is deprecated and will be removed in a future version. '\
8282
'Use `stansummary` instead.', DeprecationWarning)
83-
return stansummary(fit, pars=None, probs=(0.025, 0.25, 0.5, 0.75, 0.975), digits_summary=2)
83+
return stansummary(fit, pars=pars, probs=probs, digits_summary=digits_summary)
8484

8585
def _array_to_table(arr, rownames, colnames, n_digits):
8686
"""Print an array with row and column names

0 commit comments

Comments
 (0)