diff src/LazyTensors/tuple_manipulation.jl @ 1513:d7bc11053951

Fix spelling mistakes
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 21 Mar 2024 15:36:52 +0100
parents de6a9635f293
children
line wrap: on
line diff
--- a/src/LazyTensors/tuple_manipulation.jl	Tue Jan 23 20:39:06 2024 +0100
+++ b/src/LazyTensors/tuple_manipulation.jl	Thu Mar 21 15:36:52 2024 +0100
@@ -3,7 +3,7 @@
 
 Splits the multi-index `I` into two parts. One part which is expected to be
 used as a view, and one which is expected to be used as an index.
-Eg.
+E.g.
 ```julia-repl
 julia> LazyTensors.split_index(1, 3, 2, 1, (1,2,3,4)...)
 ((1, Colon(), Colon(), Colon(), 4), (2, 3))
@@ -33,7 +33,7 @@
     split_tuple(t, szs)
 
 Split the tuple `t` into a set of tuples of the sizes given in `szs`.
-`sum(szs)` should equal `lenght(t)`.
+`sum(szs)` should equal `length(t)`.
 
 E.g
 ```julia-repl