Skip to content

fix: fix io handling in structural_simplify, input_output_handling tests #2547

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
Mar 20, 2024

Conversation

AayushSabharwal
Copy link
Member

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 context

Add any other context about the problem here.

@AayushSabharwal
Copy link
Member Author

Doc failure is just codecov being codecov

Comment on lines 878 to 882
if u0map isa Dict
trueinit = identity.([zerovars; collect(pairs(u0map))])
else
trueinit = identity.([zerovars; u0map])
end
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't this just be trueinit = merge(zerovars, todict(u0map))?

Copy link
Member Author

@AayushSabharwal AayushSabharwal Mar 14, 2024

Choose a reason for hiding this comment

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

Fixed in c428591

@ChrisRackauckas
Copy link
Member

Tests fail

@AayushSabharwal
Copy link
Member Author

Tests are fine now, it's just the Optimization thing that's new

@ChrisRackauckas ChrisRackauckas merged commit 150a01a into SciML:master Mar 20, 2024
@AayushSabharwal AayushSabharwal deleted the as/fix-io branch March 21, 2024 05:11
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