changeset 1328:f00a205ae347 refactor/grids

Merge default
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 02 May 2023 20:14:39 +0200
parents a956fc8e79a6 (current diff) 95cac1ee8476 (diff)
children e94ddef5e72f
files
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/LazyTensors/LazyTensors.jl	Tue May 02 20:14:24 2023 +0200
+++ b/src/LazyTensors/LazyTensors.jl	Tue May 02 20:14:39 2023 +0200
@@ -30,6 +30,7 @@
 
 # Composing lazy tensors
 Base.:∘(s::LazyTensor, t::LazyTensor) = TensorComposition(s,t)
+Base.:∘(s::TensorComposition, t::LazyTensor) = s.t1∘(s.t2∘t)
 
 # Outer products of tensors
 ⊗(a::LazyTensor, b::LazyTensor) = LazyOuterProduct(a,b)