Skip to content

Commit

Permalink
Just remove all the inline stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
jonniedie committed May 29, 2022
1 parent ed9a3f8 commit 5a81362
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/array_interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@ Base.@propagate_inbounds Base.maybeview(x::ComponentArray, idx...) = _getindex(B
inds = map(i -> i.idx, ci)
axs = map(i -> i.ax, ci)
axs = remove_nulls(axs...)
return :(@inline ComponentArray(index_fun(getdata(x), $inds...), $axs...))
return :(ComponentArray(index_fun(getdata(x), $inds...), $axs...))
end

@generated function _setindex!(x::ComponentArray, v, idx...)
ci = getindex.(getaxes(x), getval.(idx))
inds = map(i -> i.idx, ci)
return :(@inline setindex!(getdata(x), v, $inds...))
return :(setindex!(getdata(x), v, $inds...))
end

## Linear Algebra
Expand Down

0 comments on commit 5a81362

Please sign in to comment.