From ec17c86578d75a16a34334e9935393c263108208 Mon Sep 17 00:00:00 2001 From: Fredrik Bagge Carlson Date: Thu, 14 Nov 2024 09:35:09 +0100 Subject: [PATCH] fix import --- Project.toml | 2 +- ext/ControlSystemIdentificationLSOptExt.jl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Project.toml b/Project.toml index ee15b122..7db7a07f 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "ControlSystemIdentification" uuid = "3abffc1c-5106-53b7-b354-a47bfc086282" authors = ["baggepinnen "] -version = "2.10.3" +version = "2.10.4" [deps] ChainRules = "082447d4-558c-5d27-93f4-14fc19e9eca2" diff --git a/ext/ControlSystemIdentificationLSOptExt.jl b/ext/ControlSystemIdentificationLSOptExt.jl index e68e31f4..f7109ae0 100644 --- a/ext/ControlSystemIdentificationLSOptExt.jl +++ b/ext/ControlSystemIdentificationLSOptExt.jl @@ -9,7 +9,7 @@ using LeastSquaresOptim using StaticArrays using LinearAlgebra using ForwardDiff -using LowLevelParticleFilters.Distributions: MvNormal +using LowLevelParticleFilters: SimpleMvNormal """ @@ -116,7 +116,7 @@ function _inner_pem( function get_ukf(px0::Vector{T}) where {T} pᵢ = px0[1:length(p0)] x0i = optimize_x0 ? px0[x0inds] : x0 - UnscentedKalmanFilter(discrete_dynamics, measurement, R1, R2, MvNormal(T.(x0i), R1mut); ny, nu, p=pᵢ) + UnscentedKalmanFilter(discrete_dynamics, measurement, R1, R2, SimpleMvNormal(T.(x0i), R1mut); ny, nu, p=pᵢ) end function residuals!(ϵ, px0)