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
https://github.com/JuliaDiffEq/ArrayInterface.jl/blob/c8513cbc0b9dc24e6674206255838abec553b854/src/ArrayInterface.jl#L22-L26
Why not remove type restriction from Base.setindex like this?
Base.setindex
function Base.setindex(x::AbstractArray, v, I...) _x = copy(x) _x[I...] = v _x end
The text was updated successfully, but these errors were encountered:
yeah we should. We should also specialize lower dimensions so it's not assuming mutability, or at least specialize on Tracker.
Sorry, something went wrong.
Relax setindex argument types
b5d231a
close JuliaArrays#17
Successfully merging a pull request may close this issue.
https://github.com/JuliaDiffEq/ArrayInterface.jl/blob/c8513cbc0b9dc24e6674206255838abec553b854/src/ArrayInterface.jl#L22-L26
Why not remove type restriction from
Base.setindex
like this?The text was updated successfully, but these errors were encountered: