diff ext/SbplibSparseArrayKitExt.jl @ 1721:7379f492c4b3 feature/lazy_tensors/sparse_conversions

Fix typos in docstring
author Vidar Stiernström <vidar.stiernstrom@gmail.com>
date Thu, 05 Sep 2024 08:31:03 -0700
parents 8787b2f9f5f8
children
line wrap: on
line diff
--- a/ext/SbplibSparseArrayKitExt.jl	Thu Sep 05 08:26:57 2024 -0700
+++ b/ext/SbplibSparseArrayKitExt.jl	Thu Sep 05 08:31:03 2024 -0700
@@ -10,9 +10,9 @@
     SparseArray(t::LazyTensor)
 
 The sparse tensor representation of `t` with range dimensions to the left and
-domain dimensions to the right. If `L` is a `LazyTensor`  with range and
+domain dimensions to the right. If `L` is a `LazyTensor` with range and
 domain dimension 2 and `v` a 2-tensor, then `A = SparseArray(t)` is
-constructed so that `∑ₖ∑ₗA[i,j,k,l]*v[k,l] == L*v`§
+constructed so that `∑ₖ∑ₗA[i,j,k,l]*v[k,l] == L*v`.
 """
 function SparseArrayKit.SparseArray(t::LazyTensor)
     v = ArrayToken(:v, domain_size(t)...)