We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
parent
It'd be nice if there was a common API for accessing and mutating parent data for wrapper array types.
The text was updated successfully, but these errors were encountered:
Yes, that is a very good idea.
iswrapped(A) getparent(A)
?
Sorry, something went wrong.
should getparent also be applied to wrapped number types, like Dual numbers and TrackedReal?
getparent
Yeah, I think that would make sense... assuming they're using the existing type hierarchy (e.g., TrackedReal <: Real).
TrackedReal <: Real
We have parent_type now. You can do parent_type(T) <: T to confirm that T isn't a wrapper. Does that resolve this issue?
parent_type
parent_type(T) <: T
T
No branches or pull requests
It'd be nice if there was a common API for accessing and mutating
parent
data for wrapper array types.The text was updated successfully, but these errors were encountered: