Skip to content

Allow users to set the tag for the configs #170

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
Dec 14, 2021
Merged

Allow users to set the tag for the configs #170

merged 4 commits into from
Dec 14, 2021

Conversation

ChrisRackauckas
Copy link
Member

No description provided.

@ChrisRackauckas
Copy link
Member Author

@chriselrod

@@ -25,15 +27,21 @@ function ForwardColorJacCache(f::F,x,_chunksize = nothing;
chunksize = _chunksize
end

if tag === nothing
T = typeof(ForwardDiff.Tag(f,eltype(vec(x))))
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not set it to a custom tag here?
DiffEq is already using a few custom tags.

Copy link
Member Author

Choose a reason for hiding this comment

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

This is for upstream packages to set package-specific tags.

@ChrisRackauckas ChrisRackauckas merged commit 1e1c7c1 into master Dec 14, 2021
@ChrisRackauckas ChrisRackauckas deleted the set_tag branch December 14, 2021 23:22
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