Mercurial > repos > public > sbplib_julia
changeset 1609:df1856b0e2f0 feature/boundary_conditions
Remove extra `where T`
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Sun, 09 Jun 2024 23:03:04 +0200 |
parents | 1388149b54ad |
children | 13063028d604 |
files | src/LazyTensors/lazy_tensor_operations.jl |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/LazyTensors/lazy_tensor_operations.jl Sat Jun 08 23:43:49 2024 +0200 +++ b/src/LazyTensors/lazy_tensor_operations.jl Sun Jun 09 23:03:04 2024 +0200 @@ -121,7 +121,7 @@ Base.:*(a::T, tm::LazyTensor{T}) where T = TensorComposition(ScalingTensor{T,range_dim(tm)}(a,range_size(tm)), tm) Base.:*(tm::LazyTensor{T}, a::T) where T = a*tm -Base.:-(tm::LazyTensor) where T = (-one(eltype(tm)))*tm +Base.:-(tm::LazyTensor) = (-one(eltype(tm)))*tm """ InflatedTensor{T,R,D} <: LazyTensor{T,R,D}