Skip to content

Conversation

ven-k
Copy link
Member

@ven-k ven-k commented Sep 18, 2024

  • Arbitrary array length with/without defaults or metadata can now be specified in @mtkmodel
  • This covers all cases of symbolic arrays in @mtkmodel.

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

Additional Info:

  • Model.structure isn't updated about these paramaters and variables. Related tests are marked as broken.

@ven-k ven-k force-pushed the vkb/array-length-as-input branch 2 times, most recently from db10baf to 876c062 Compare September 23, 2024 20:35
@ven-k ven-k marked this pull request as ready for review September 23, 2024 20:36
@ChrisRackauckas
Copy link
Member

Those units tests aren't failing on master? Is that a parsing issue?

@ven-k
Copy link
Member Author

ven-k commented Sep 24, 2024

Now I've added MTK.convert_units to arrays too; this should fix that error.
I've added steps to make sure types work in all array cases.
So all cases involving arrays should work.

@ven-k
Copy link
Member Author

ven-k commented Sep 25, 2024

The downstream test failures are consistent with the master.

@ven-k ven-k force-pushed the vkb/array-length-as-input branch from ee2084c to 563dedc Compare September 27, 2024 11:01
@ven-k
Copy link
Member Author

ven-k commented Sep 27, 2024

I've rebased the PR with latest master; this PR is ready for review.

@ChrisRackauckas ChrisRackauckas merged commit 8940800 into SciML:master Sep 27, 2024
22 of 25 checks passed
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