changeset 1614:13063028d604 feature/boundary_conditions

Merge heads
author Vidar Stiernström <vidar.stiernstrom@gmail.com>
date Sun, 09 Jun 2024 16:53:03 -0700
parents 15488c889a50 (current diff) df1856b0e2f0 (diff)
children b74e1a21265f
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/LazyTensors/lazy_tensor_operations.jl	Sun Jun 09 16:51:56 2024 -0700
+++ b/src/LazyTensors/lazy_tensor_operations.jl	Sun Jun 09 16:53:03 2024 -0700
@@ -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}