Skip to content

Commit bb229ff

Browse files
authored
Merge pull request #636 from JuliaControl/ddkalman
add deprecations for dkalman
2 parents 1d81af0 + f6a7a9b commit bb229ff

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name = "ControlSystems"
22
uuid = "a6e380b2-a6ca-5380-bf3e-84a91bcd477e"
33
authors = ["Dept. Automatic Control, Lund University"]
44
repo = "https://github.com/JuliaControl/ControlSystems.jl.git"
5-
version = "0.12.1"
5+
version = "0.12.2"
66

77
[deps]
88
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"

src/synthesis.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ function kalman(sys::AbstractStateSpace, R1, R2, args...; kwargs...)
8888
return Matrix(lqr(sys.timeevol, sys.A', sys.C', R1,R2, args...; kwargs...)')
8989
end
9090

91+
@deprecate kalman(A::AbstractMatrix, args...; kwargs...) kalman(Continuous, A, args...; kwargs...)
92+
@deprecate dkalman(args...; kwargs...) kalman(Discrete, args...; kwargs...)
9193

9294
"""
9395
place(A, B, p, opt=:c)

0 commit comments

Comments
 (0)