Skip to content

Parse constants in @mtkmodel #2499

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 3 commits into from
Mar 3, 2024

Conversation

ven-k
Copy link
Member

@ven-k ven-k commented Feb 27, 2024

Allows @constants in the @mtkmodel; this works similar to the @constants; and in addition, a type check is added to the assigned value.

Closes #2362

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

Run format.

@ven-k ven-k force-pushed the vkb/constant-in-mtkmodel branch 2 times, most recently from 7316a00 to 9775675 Compare February 29, 2024 07:47
@ven-k ven-k marked this pull request as draft February 29, 2024 11:30
@ven-k ven-k force-pushed the vkb/constant-in-mtkmodel branch from 9775675 to 60fa733 Compare March 1, 2024 05:42
ven-k added 3 commits March 3, 2024 19:11
Allows `@constants` in the `@mtkmodel`; this works similar to the `@constants`; and in addition, a type check is added to the assigned value.
Adds top-level and the closed module  tests.
@ven-k ven-k force-pushed the vkb/constant-in-mtkmodel branch from 60fa733 to 7c377de Compare March 3, 2024 14:53
@ven-k
Copy link
Member Author

ven-k commented Mar 3, 2024

@ven-k ven-k marked this pull request as ready for review March 3, 2024 15:34
@ChrisRackauckas ChrisRackauckas merged commit 7530435 into SciML:master Mar 3, 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.

MTK v8.73.1: no support for @constants within @mtkmodel?
2 participants