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

Issue with multi-weight accessor #190

Open
jackaraz opened this issue Apr 21, 2023 · 0 comments · May be fixed by #13
Open

Issue with multi-weight accessor #190

jackaraz opened this issue Apr 21, 2023 · 0 comments · May be fixed by #13
Assignees
Labels
🐛bug Something isn't working 🦾ExpertMode Expert Mode

Comments

@jackaraz
Copy link
Member

System Settings

Ma5 version 1.10 and 2

Describe the bug

const WeightCollection *weights = (&(event.mc()->multiweights()));
weights->Get(1);

raises an error claiming that the weight does not exist.

To Reproduce

const WeightCollection *weights = (&(event.mc()->multiweights()));
weights->Get(1);

Expected behaviour

!= needs to be ==

Log files

No response

Additional information

No response

@jackaraz jackaraz added 🐛bug Something isn't working 🦾ExpertMode Expert Mode labels Apr 21, 2023
jackaraz added a commit that referenced this issue Apr 21, 2023
@jackaraz jackaraz self-assigned this May 9, 2023
@jackaraz jackaraz linked a pull request Jun 7, 2023 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛bug Something isn't working 🦾ExpertMode Expert Mode
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant