changeset 945:1f41cf9454f2 feature/tensormapping_application_promotion

Remove type declaratio from doc string
author Jonatan Werpers <jonatan@werpers.com>
date Sat, 12 Mar 2022 22:20:45 +0100
parents 4a4ef4bf6cb9
children 469ed954b493
files src/LazyTensors/tensor_mapping.jl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/LazyTensors/tensor_mapping.jl	Thu Mar 10 16:59:43 2022 +0100
+++ b/src/LazyTensors/tensor_mapping.jl	Sat Mar 12 22:20:45 2022 +0100
@@ -10,7 +10,7 @@
 Describes a mapping of a `D` dimension tensor to an `R` dimension tensor.
 The action of the mapping is implemented through the method
 ```julia
-    apply(t::TensorMapping{T,R,D}, v::AbstractArray{T,D}, I::Vararg) where {R,D,T}
+    apply(t::TensorMapping{T,R,D}, v::AbstractArray{<:Any,D}, I::Vararg) where {R,D,T}
 ```
 
 The size of the range and domain that the operator works with should be returned by