changeset 1016:5c8c148c56a3 refactor/lazy_tensors

Fix typo
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 21 Mar 2022 13:19:53 +0100
parents 4dd3c2312d9e
children 6abbb2c6c3e4
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	Mon Mar 21 13:11:37 2022 +0100
+++ b/src/LazyTensors/lazy_tensor_operations.jl	Mon Mar 21 13:19:53 2022 +0100
@@ -23,7 +23,7 @@
     @boundscheck checkbounds(ta, Int.(I)...)
     return @inbounds apply(ta.t, ta.o, I...)
 end
-Base.@propagate_inbounds @Base.getindex(ta::LazyTensorApplication{T,1} where T, I::CartesianIndex{1}) = ta[Tuple(I)...] # Would otherwise be caught in the previous method.
+Base.@propagate_inbounds Base.getindex(ta::LazyTensorApplication{T,1} where T, I::CartesianIndex{1}) = ta[Tuple(I)...] # Would otherwise be caught in the previous method.
 Base.size(ta::LazyTensorApplication) = range_size(ta.t)