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 UnconditionalDistribution and UnconditionalTransform #51

Merged
merged 2 commits into from
Jun 20, 2024

Conversation

francois-rozet
Copy link
Member

@francois-rozet francois-rozet commented Jun 19, 2024

This PR replaces the Unconditional class with two dedicated classes: UnconditionalDistribution and UnconditionalTransform. This should resolve some issues with type checkers (see sbi-dev/sbi#1099).

The Unconditional class is deprecated and will be removed in the future. Using it raises a warning.

@francois-rozet francois-rozet merged commit bddbd7d into master Jun 20, 2024
6 checks passed
@francois-rozet francois-rozet deleted the partial branch June 20, 2024 09:26
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.

1 participant