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

fix: define execution_info outside conditionals #162

Merged
merged 1 commit into from
Mar 9, 2022

Conversation

redeboer
Copy link
Member

@redeboer redeboer commented Mar 9, 2022

Causes a small bug in case no solutions are found. E.g.:

import qrules

reaction = qrules.generate_transitions(
    initial_state=("psi(4160)", [-1, +1]),
    final_state=["D-", "D0", "pi+"],
    allowed_intermediate_particles=[],  # <-- wrong, but should not crash
)

See also #33

Causes a small bug in case no solutions are found
@redeboer redeboer added the 🐛 Bug Something isn't working label Mar 9, 2022
@redeboer redeboer added this to the 0.10.0 milestone Mar 9, 2022
@redeboer redeboer self-assigned this Mar 9, 2022
@redeboer redeboer merged commit 0675196 into ComPWA:main Mar 9, 2022
@redeboer redeboer deleted the execution_info branch March 9, 2022 16:12
@redeboer redeboer modified the milestones: 0.10.0, 0.9.8 Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant