Skip to content

refactor: use the t defined in the module #2569

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

Merged
merged 4 commits into from
Apr 2, 2024

Conversation

ven-k
Copy link
Member

@ven-k ven-k commented Mar 25, 2024

t is now available in three flavours. Thus, allow a downstream package to import the appropriate one, and use that to define variables in the mtk-models.

Checklist

  • Appropriate tests were added
  • Any code changes were done in a way that does not break public API
  • All documentation related to code changes were updated
  • The new code follows the
    contributor guidelines, in particular the SciML Style Guide and
    COLPRAC.
  • Any new documentation only uses public API

@ChrisRackauckas
Copy link
Member

tests fail?

@@ -94,5 +94,3 @@ end
@safetestset "BifurcationKit Extension Test" include("extensions/bifurcationkit.jl")
end
end

@safetestset "Model Parsing Test" include("model_parsing.jl")
Copy link
Member Author

Choose a reason for hiding this comment

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

@YingboMa
Copy link
Member

The test failure seems real.

ven-k added 3 commits April 1, 2024 14:50
`t` is now available in three flavours. Thus, allow a downstream package to import the appropriate one, and use that to define the mtk-models.
@ven-k
Copy link
Member Author

ven-k commented Apr 1, 2024

+ Adds an indirect test which validates units and check that metadata is correctly set.
@ven-k
Copy link
Member Author

ven-k commented Apr 1, 2024

While here, I've improved tests for constants (and it's metadata) in mtkmodel.


@ChrisRackauckas the model parsing tests are fixed.
https://github.com/SciML/ModelingToolkit.jl/actions/runs/8512837408/job/23315296803#step:6:1302

@ChrisRackauckas ChrisRackauckas merged commit 8bfba3e into SciML:master Apr 2, 2024
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.

3 participants