From 54b6400a17f9d2f0e96648f6872eb69d238a1e8c Mon Sep 17 00:00:00 2001 From: Thore Kockerols Date: Tue, 3 Dec 2024 21:40:52 +0000 Subject: [PATCH] use pinv for inversion filter --- src/filter/inversion.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/filter/inversion.jl b/src/filter/inversion.jl index 5cb66469..a5ef95d3 100644 --- a/src/filter/inversion.jl +++ b/src/filter/inversion.jl @@ -3440,9 +3440,9 @@ function filter_data_with_model(𝓂::ℳ, invjac = inv(jacdecomp) else - jacdecomp = ℒ.svd(jac) + # jacdecomp = ℒ.svd(jac) - invjac = inv(jacdecomp) + invjac = ℒ.pinv(jac) end for i in axes(data_in_deviations,2)