# Cmdstanpy error in fit.summary()?

**URL:** <https://discourse.mc-stan.org/t/cmdstanpy-error-in-fit-summary/26939>\
**Category:** Interfaces\
**Tags:** cmdstanpy\
**Created:** [March 26, 2022, 9:17pm UTC](https://discourse.mc-stan.org/t/cmdstanpy-error-in-fit-summary/26939 "2022-03-26T21:17:50Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![WardBrian](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/wardbrian/32/12078_2.png) [@WardBrian](https://discourse.mc-stan.org/u/WardBrian)\
**Post date:** [March 28, 2022, 8:35pm UTC](https://discourse.mc-stan.org/t/cmdstanpy-error-in-fit-summary/26939/13 "2022-03-28T20:35:06Z")

</div>

The documentation on `stansummary` is wrong. The default number of significant figures is 2 for the display on the console, but for the csv file it is **six** :

> <https://github.com/stan-dev/cmdstan/blob/2983b74cc79214b72e55577c5cef1c05b63a628e/src/cmdstan/stansummary.cpp#L194>

Cmdstanpy, based on the assumption the doc is correct, defaults to 2 when nothing is supplied, but it should default to 6, and the significant figures argument should be updated to explain this.

---

_[View the full topic](https://discourse.mc-stan.org/t/cmdstanpy-error-in-fit-summary/26939)._
