From e092525e3618f1f4c3c7efbef87b6a9da3994b77 Mon Sep 17 00:00:00 2001 From: Nathanael Bosch Date: Sun, 9 Jun 2024 17:20:23 +0200 Subject: [PATCH] Remove another usage of the iterator gaussian --- src/data_likelihoods/fenrir.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data_likelihoods/fenrir.jl b/src/data_likelihoods/fenrir.jl index 01e3a3746..b09d7128d 100644 --- a/src/data_likelihoods/fenrir.jl +++ b/src/data_likelihoods/fenrir.jl @@ -127,7 +127,7 @@ function fit_pnsolution_to_data!( end function measure_and_update!(x, u, H, R::PSDMatrix, cache) - z, S = cache.m_tmp + z, S = mean(cache.m_tmp), cov(cache.m_tmp) _matmul!(z, H, x.μ) z .-= u S = PSDMatrix(make_obscov_sqrt(x.Σ.R, H, R.R))