# Max Treedepth Exceeded = Lack of Convergence?

**URL:** <https://discourse.mc-stan.org/t/max-treedepth-exceeded-lack-of-convergence/12568>\
**Category:** Modeling\
**Created:** [January 10, 2020, 6:34am UTC](https://discourse.mc-stan.org/t/max-treedepth-exceeded-lack-of-convergence/12568 "2020-01-10T06:34:11Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![andrjohns](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/andrjohns/32/15297_2.png) [@andrjohns](https://discourse.mc-stan.org/u/andrjohns)\
**Post date:** [January 10, 2020, 8:01am UTC](https://discourse.mc-stan.org/t/max-treedepth-exceeded-lack-of-convergence/12568/6 "2020-01-10T08:01:05Z")

</div>

Which version of Stan are you using? There’s a bug in the `ordered_logistic` distribution that’s present in version 2.19. You’ll likely be effected if you’re using RStan, since that’s the current version available.

If you’re using version 2.19,[there’s a fix listed here](https://discourse.mc-stan.org/t/ordered-logistic-lpmf/9799/2)

---

_[View the full topic](https://discourse.mc-stan.org/t/max-treedepth-exceeded-lack-of-convergence/12568)._
