Skip to content

Commit

Permalink
fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
baggepinnen committed Nov 14, 2024
1 parent 5ece791 commit ec17c86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ControlSystemIdentification"
uuid = "3abffc1c-5106-53b7-b354-a47bfc086282"
authors = ["baggepinnen <baggepinnen@gmail.com>"]
version = "2.10.3"
version = "2.10.4"

[deps]
ChainRules = "082447d4-558c-5d27-93f4-14fc19e9eca2"
Expand Down
4 changes: 2 additions & 2 deletions ext/ControlSystemIdentificationLSOptExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ using LeastSquaresOptim
using StaticArrays
using LinearAlgebra
using ForwardDiff
using LowLevelParticleFilters.Distributions: MvNormal
using LowLevelParticleFilters: SimpleMvNormal


"""
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit ec17c86

Please sign in to comment.