Mercurial > repos > public > sbplib_julia
diff src/LazyTensors/lazy_array.jl @ 1150:58cb7cb02d9a refactor/sbpoperators/inflation
Merge default
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 21 Oct 2022 22:11:04 +0200 |
parents | 6fd97b5ed3e5 |
children | c5cf32fab163 |
line wrap: on
line diff
--- a/src/LazyTensors/lazy_array.jl Tue Oct 18 20:27:31 2022 +0200 +++ b/src/LazyTensors/lazy_array.jl Fri Oct 21 22:11:04 2022 +0200 @@ -28,7 +28,7 @@ export LazyFunctionArray function LazyFunctionArray(f::F, size::NTuple{D,Int}) where {F<:Function,D} - T = typeof(f(ones(D)...)) + T = typeof(f(ones(Int, D)...)) return LazyFunctionArray{F,T,D}(f,size) end