TuringLang / Bijectors.jl

Implementation of normalising flows and constrained random variable transformations
https://turinglang.org/Bijectors.jl/
MIT License
200 stars 33 forks source link

Handle empty brackets in `find_alpha` #205

Closed devmotion closed 2 years ago

devmotion commented 2 years ago

This PR ensures that empty brackets are handled in find_alpha and not passed to Roots.

Fixes https://github.com/TuringLang/Bijectors.jl/issues/204.