Skip to content

Commit 30cd397

Browse files
committed
added: pretty-print estim.direct for all StateEstimators
1 parent 83cd882 commit 30cd397

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/estimator/mhe.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function print_details(io::IO, estim::MovingHorizonEstimator)
1111
println(io, "├ arrival covariance: $(nameof(typeof(estim.covestim))) ")
1212
end
1313

14-
"Print the differentiation backends for `SimModel`."
14+
"Print the differentiation backends of `MovingHorizonEstimator` for `SimModel`."
1515
function print_backends(io::IO, estim::MovingHorizonEstimator, ::SimModel)
1616
println(io, "├ gradient: $(backend_str(estim.gradient))")
1717
println(io, "├ jacobian: $(backend_str(estim.jacobian))")

src/state_estim.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ function Base.show(io::IO, estim::StateEstimator)
3737
println(io, "$(nameof(typeof(estim))) estimator with a sample time Ts = $(model.Ts) s:")
3838
println(io, "├ model: $(nameof(typeof(estim.model)))")
3939
print_details(io, estim)
40+
println(io, "├ direct: $(estim.direct) ")
4041
println(io, "└ dimensions:")
4142
print_estim_dim(io, estim, n)
4243
end

0 commit comments

Comments
 (0)