Skip to content

Add ReverseDiff weak dep - #247

Merged
ChrisRackauckas merged 12 commits into
masterfrom
weakdep
Feb 7, 2023
Merged

ChrisRackauckas merged 12 commits into
masterfrom
weakdep

Conversation

@ChrisRackauckas

Copy link
Copy Markdown
Member

with backwards compatibility. Comes from SciMLSensitivity.jl back compat split.

with backwards compatibility. Comes from SciMLSensitivity.jl back compat split.
Comment thread src/RecursiveArrayTools.jl Outdated

import Requires
function __init__()
@static if !isdefined(Base, :get_extension)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Could move this check outside the function to avoid loading it.

a::AbstractArray{T2, N}) where {
T <:
Tracker.TrackedArray,
T2 <:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Tracker.TrackedArray probably isn't in scope?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

lol...

ChrisRackauckas added a commit to SciML/SciMLSensitivity.jl that referenced this pull request Feb 6, 2023
Requires:

* SciML/PreallocationTools.jl#58
* SciML/RecursiveArrayTools.jl#247
* SciML/DiffEqBase.jl#871

Moving all of those to their rightful places instead of pirating now that a weak dependency system exists.
@ChrisRackauckas
ChrisRackauckas merged commit 6ec82b5 into master Feb 7, 2023
@ChrisRackauckas
ChrisRackauckas deleted the weakdep branch February 7, 2023 11:43
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