changeset 1298:aa8579b7fc15 bugfix/lazytensors

Fix parameter order in subtyping
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Tue, 04 Apr 2023 21:39:53 +0200
parents a9ac86f6be8a
children 4c0bc52e170f
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	Tue Feb 21 21:01:46 2023 +0100
+++ b/src/LazyTensors/lazy_tensor_operations.jl	Tue Apr 04 21:39:53 2023 +0200
@@ -52,7 +52,7 @@
 domain_size(tmt::TensorTranspose) = range_size(tmt.tm)
 
 
-struct ElementwiseTensorOperation{Op,T,R,D,T1<:LazyTensor{T,R,D},T2<:LazyTensor{T,R,D}} <: LazyTensor{T,D,R}
+struct ElementwiseTensorOperation{Op,T,R,D,T1<:LazyTensor{T,R,D},T2<:LazyTensor{T,R,D}} <: LazyTensor{T,R,D}
     tm1::T1
     tm2::T2