Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add constants for common defaults such as IID(Normal()) #543

Open
seabbs opened this issue Dec 12, 2024 · 1 comment
Open

Add constants for common defaults such as IID(Normal()) #543

seabbs opened this issue Dec 12, 2024 · 1 comment

Comments

@seabbs
Copy link
Collaborator

seabbs commented Dec 12, 2024

          The default version of this is so common, would it be worth having a constant like
const NormalIID = IID()

Which can be used in places like the generate_latent method for HierarchicalNormal?

Originally posted by @SamuelBrand1 in #438 (comment)

@SamuelBrand1
Copy link
Collaborator

Yes. I'm abit agnostic, but I personally like const s for really commonly used objects. ymmv though.

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

No branches or pull requests

2 participants