ocbe-uio / TruncExpFam

R package to generate data related to the Truncated Exponential Family
https://ocbe-uio.github.io/TruncExpFam/
GNU General Public License v3.0
0 stars 1 forks source link

Add validation to truncation limits #73

Closed wleoncio closed 2 years ago

wleoncio commented 2 years ago

If limits are outside of the distribution support, the sampling functions enters an infinite loop, trying to find elements that are inside the support.