From 9b7eee03f04f3f9a7c091a63f06b0250ca80f0d8 Mon Sep 17 00:00:00 2001 From: Nuwan Yapa Date: Wed, 8 Jan 2025 13:53:04 -0500 Subject: [PATCH] Minor --- helper.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper.jl b/helper.jl index 931fdfb..c767230 100644 --- a/helper.jl +++ b/helper.jl @@ -50,7 +50,7 @@ function exportCSV(file::String, data, labels=nothing) end "In-place c-orthogonalization via (modified) Gram-Schmidt. Only significant vectors are returned (c-normalized). -The number of significant vectors to return are determined by the original singular values (compared to the threshold) " +The number of significant vectors to return are determined by the original singular values (compared to the threshold)." function gram_schmidt!(vecs, ws=ones(length(vecs[1])), threshold=1e-5; verbose=false) c_product(i, j) = sum(vecs[i] .* ws .* vecs[j]) norm(i) = c_product(i, i)