Joshuaalbert / jaxns

Probabilistic Programming and Nested sampling in JAX
https://jaxns.readthedocs.io/
Other
135 stars 9 forks source link

When a single namedtuple is returned from prior model it gets mistaken as a tuple #144

Closed Joshuaalbert closed 5 months ago

Joshuaalbert commented 5 months ago

Describe the bug While ensuring likelihood inputs conform, namedtuples are getting picked up as tuples (because they are).

Need to check for single namedtuples.

Joshuaalbert commented 5 months ago

Fixed in #143