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

Use named parameters when constructing a Message #18

Open
LourensVeen opened this issue Dec 20, 2022 · 0 comments
Open

Use named parameters when constructing a Message #18

LourensVeen opened this issue Dec 20, 2022 · 0 comments

Comments

@LourensVeen
Copy link
Collaborator

When constructing a message, we have Message(1.0, None, data). That None is the next timestamp t_next, which we don't use here. It would be better to write Message(1.0, data=data), then we don't have to explain t_next at all.

This requires a change in MUSCLE3, see multiscale/muscle3#146. After that, we can update the lesson.

Thanks to @sverhoeven for the idea!

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