# NUTS Sampler stuck in rejected due to numerical errors

**URL:** https://discourse.julialang.org/t/nuts-sampler-stuck-in-rejected-due-to-numerical-errors/89571
**Category:** Probabilistic Programming
**Tags:** turing
**Created:** [October 31, 2022, 3:35pm UTC](https://discourse.julialang.org/t/nuts-sampler-stuck-in-rejected-due-to-numerical-errors/89571 "2022-10-31T15:35:32Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![astro-kevin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/astro-kevin/32/43342_2.png) [@astro-kevin](https://discourse.julialang.org/u/astro-kevin)
#### Post date: [October 31, 2022, 3:35pm UTC](https://discourse.julialang.org/t/nuts-sampler-stuck-in-rejected-due-to-numerical-errors/89571/1 "2022-10-31T15:35:32Z")

</div>

The Turing sampler seems to be stuck on

```julia
Warning: The current proposal will be rejected due to numerical error(s).
│ isfinite.((θ, r, ℓπ, ℓκ)) = (true, false, false, false)

```

There seems to have been others who have faced this issue, but I couldn’t find a solution in any of their replies. Also, I’m not quite clear on what exactly `θ` which is going infinite is?

Does anyone have a solution they could share?
