Mercurial > repos > public > sbplib_julia
diff src/LazyTensors/lazy_array.jl @ 1360:f59228534d3a tooling/benchmarks
Merge default
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Sat, 20 May 2023 15:15:22 +0200 |
parents | c5cf32fab163 |
children | d7bc11053951 |
line wrap: on
line diff
--- a/src/LazyTensors/lazy_array.jl Fri Apr 28 09:00:35 2023 +0200 +++ b/src/LazyTensors/lazy_array.jl Sat May 20 15:15:22 2023 +0200 @@ -36,7 +36,7 @@ function Base.getindex(lfa::LazyFunctionArray{F,T,D}, I::Vararg{Int,D}) where {F,T,D} @boundscheck checkbounds(lfa, I...) - return @inbounds lfa.f(I...) + return @inbounds @inline lfa.f(I...) end