Skip to content

Commit

Permalink
Namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Sep 1, 2024
1 parent 0acd847 commit c3acb74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/ArrayInterfaceTrackerExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ArrayInterface.can_setindex(::Type{<:Tracker.TrackedArray}) = false
ArrayInterface.fast_scalar_indexing(::Type{<:Tracker.TrackedArray}) = false
ArrayInterface.aos_to_soa(x::AbstractArray{<:Tracker.TrackedReal,N}) where {N} = Tracker.collect(x)

function ArrayInterface.restructure(x::Array, y::TrackedArray)
function ArrayInterface.restructure(x::Array, y::Tracker.TrackedArray)
reshape(y, Base.size(x)...)
end
function ArrayInterface.restructure(x::Array, y::Array{<:Tracker.TrackedReal})
Expand Down

0 comments on commit c3acb74

Please sign in to comment.