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 MTK's default t and D throughout repository #786

Merged
merged 9 commits into from
Mar 18, 2024

Conversation

TorkelE
Copy link
Member

@TorkelE TorkelE commented Feb 13, 2024

In v9, MTK creates default time and differential variables. This PRs make Catalyst use these (throughout tests and documentation). I.e. instead of

@variables t
D = Differential(t)

we now do

import Catalyst: t_nounits as t, D_nounits as D

CI still cannot work due to all_dimensionless issue mentioned in #785 (which this one depends on).

@isaacsas
Copy link
Member

Can you change the base branch for all these PRs you are opening to v14 so they are readable?

@TorkelE TorkelE changed the base branch from master to Catalyst_version_14 February 13, 2024 16:32
@TorkelE
Copy link
Member Author

TorkelE commented Feb 13, 2024

The other ones are to the v14 branch already, changed this one as well now. This one is based on #785 (because Catalyst cannot, currently, compile on ModelingToolkit#master without that one)

@isaacsas isaacsas mentioned this pull request Feb 28, 2024
47 tasks
src/Catalyst.jl Outdated Show resolved Hide resolved
Copy link
Member

@isaacsas isaacsas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please get rid of the unknown to state conversions that are for some reason in this PR. The ones here are not correct/desired.

@TorkelE
Copy link
Member Author

TorkelE commented Mar 18, 2024

The rebase must have messed up, I will try to figure out and fix.

TorkelE and others added 3 commits March 18, 2024 14:21
Co-authored-by: Sam Isaacson <isaacsas@users.noreply.github.com>
Copy link
Member

@isaacsas isaacsas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with the typo fix I just merged. Feel free to merge.

@TorkelE TorkelE merged commit 7b8c789 into Catalyst_version_14 Mar 18, 2024
1 of 3 checks passed
@TorkelE TorkelE deleted the use_mtk_default_t_and_D branch June 8, 2024 18:27
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.

None yet

2 participants