Skip to content
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

Fence definition of literal_getproperty adjoint #1059

Merged
merged 3 commits into from
May 26, 2024
Merged

Conversation

DhairyaLGandhi
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

Closes #1058
There are no new symbols added in #1056 , so it is not possible to check with isdefined. Likewise, there are no new symbols when an adjoint is defined, only methods to a method table. This PR adds a check for the existence of that literal_getproperty(::AbstractTimeseriesSolution, ::Val{:u}) method and skips the adjoint if it exists.

Add any other context about the problem here.

@DhairyaLGandhi DhairyaLGandhi changed the title Dg/defined Fence definition of literal_getproperty adjoint May 26, 2024
@ChrisRackauckas ChrisRackauckas merged commit 24b837f into master May 26, 2024
14 of 17 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.

precompile fails with v7.60.0
2 participants