From e848f76aa7e458f0c8cbf7c8d1d869d322b60eee Mon Sep 17 00:00:00 2001 From: Nestor Demeure Date: Sun, 17 Nov 2019 13:40:19 +0100 Subject: [PATCH] Update cholesky.rs corrected typo ni doc for `xx_rank_one_update` --- src/linalg/cholesky.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/linalg/cholesky.rs b/src/linalg/cholesky.rs index 1a310cbf..67baefb1 100644 --- a/src/linalg/cholesky.rs +++ b/src/linalg/cholesky.rs @@ -242,10 +242,10 @@ where Cholesky { chol } } - /// Given the Cholesky decomposition of a matrix `M`, a scalar `sigma` and a vector `v`, + /// Given the Cholesky decomposition of a matrix `M`, a scalar `sigma` and a vector `x`, /// performs a rank one update such that we end up with the decomposition of `M + sigma * (x * x.adjoint())`. /// - /// This helper method is calling for by `rank_one_update` but also `insert_column` and `remove_column` + /// This helper method is called by `rank_one_update` but also `insert_column` and `remove_column` /// where it is used on a square slice of the decomposition fn xx_rank_one_update(chol : &mut Matrix, x: &mut Vector, sigma: N::RealField) where