Divergences

I see divergences occur with high curvature often with hierarchical models but what is the specific criteria in the stan code that determines if an iteration is flagged as divergent?

Thank you

See 15.5 Divergent transitions | Stan Reference Manual (particularly the footnote)

1 Like