Mercurial > repos > public > sbplib_julia
changeset 1121:c78c9a95024a feature/lazy_arrays
Remove comment
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Wed, 05 Oct 2022 20:45:02 +0200 |
parents | f32e35c2fccf |
children | 6e9d6cb5211c |
files | src/LazyTensors/lazy_array.jl |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/LazyTensors/lazy_array.jl Wed Oct 05 19:58:40 2022 +0200 +++ b/src/LazyTensors/lazy_array.jl Wed Oct 05 20:45:02 2022 +0200 @@ -96,7 +96,6 @@ # Overload +,-,*,/ for LazyArrays # Element wise operation for `*` and `/` are not overloaded for due to conflicts with the behavior # of regular `*` and `/` for AbstractArrays. Use tilde versions instead. -# TODO: Try to make it work for `*` and `/` for e.g. *(::LazyArray{T},::T)? Base.@propagate_inbounds Base.:+(a::LazyArray{T,D}, b::LazyArray{T,D}) where {T,D} = a +̃ b Base.@propagate_inbounds Base.:-(a::LazyArray{T,D}, b::LazyArray{T,D}) where {T,D} = a -̃ b