Mercurial > repos > public > sbplib_julia
changeset 372:33c360c3c6bc feature/lazy_function
Improve formatting
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 30 Sep 2020 21:07:34 +0200 |
parents | 241bd2512c20 |
children | 125ca96b781d |
files | src/LazyTensors/lazy_array.jl |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/LazyTensors/lazy_array.jl Wed Sep 30 19:48:17 2020 +0200 +++ b/src/LazyTensors/lazy_array.jl Wed Sep 30 21:07:34 2020 +0200 @@ -33,6 +33,7 @@ end Base.size(lfa::LazyFunctionArray) = lfa.size + function Base.getindex(lfa::LazyFunctionArray{F,T,D}, I::Vararg{Int,D}) where {F,T,D} @boundscheck checkbounds(lfa, I...) return lfa.f(I...)