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

feature request: probs arg ignored if openmc.stats.Normal passed to openmc.stats.combine_distributions #94

Open
jon-proximafusion opened this issue Aug 1, 2024 · 0 comments

Comments

@jon-proximafusion
Copy link

when making use of openmc.stats.combine_distributions the type hint indicate that probs can be a Sequence[Univariate] but the doc string only mentions openmc.stats.Discrete and openmc.stats.Tabular.

Passing in two openmc.stats.Normal does not raise any errors and returns a Mixture. However the probabilities of the Mixture are set to 1. ,1. even if the users specifies [0.3,0.8]

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

1 participant