Skip to content

Conversation

@OliverEvans96
Copy link

Hello,

Thanks for publishing this package!

When using a large number of parameters, the current hack to sampling from a truncated distribution would require an unreasonably large number of iterations, so I made this minor change to use the truncated functionality built-in to Distributions.jl

Let me know if this seems reasonable. I'm happy to make any other necessary changes for it to be acceptable.

Thanks,
Oliver

@floswald
Copy link
Owner

very nice! I think when I was developing this package this option did not exist yet, I was looking for exactly that. were you able to run a unit test for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants