Skip to content

Add support for direct application of a piecewise definition #64

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 1 commit into from
Dec 4, 2024

Conversation

BenChung
Copy link
Contributor

@BenChung BenChung commented Dec 4, 2024

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

A bare piecewise in an apply would fail to parse since its definition isn't in the applymap. This just special cases that out so that we parse it properly.

@BenChung BenChung requested a review from thazhemadam December 4, 2024 20:14
@ChrisRackauckas ChrisRackauckas merged commit 2bf7f52 into SciML:main Dec 4, 2024
6 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