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 trait and dispatch for collect_vars! #3123

Merged
merged 6 commits into from
Oct 15, 2024

Conversation

isaacsas
Copy link
Member

This should allow us to add a dispatch for Reactions in Catalyst, along with refactoring to simplify the code in MTK a bit.

Note that I left a number of manual dispatches between Pairs and Equations that are present in the current code. It would be cleaner to leave them to a dynamic dispatch, but I wasn't sure if this would have performance implications where it is currently being used.

@ChrisRackauckas
Copy link
Member

Yes this is a really nice refactor.

@ChrisRackauckas ChrisRackauckas merged commit 1f53f6a into SciML:master Oct 15, 2024
21 of 25 checks passed
@isaacsas isaacsas deleted the dispatch_collect_vars branch October 15, 2024 18:22
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.

2 participants