Skip to content

Commit c575ff8

Browse files
alecarraroschillic
andauthored
Apply suggestions from code review
Co-authored-by: Christian Schilling <git@christianschilling.net>
1 parent 184b348 commit c575ff8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/systems.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3387,7 +3387,7 @@ function __init__()
33873387
@doc """
33883388
LinearControlParametricContinuousSystem
33893389
3390-
Continuous-time linear parametric system of the form:
3390+
Continuous-time linear parametric control system of the form:
33913391
33923392
```math
33933393
x(t)' = A(θ) x(t) + B(θ) u(t), \\theta ∈ \\Theta \\; \\forall t
@@ -3405,7 +3405,7 @@ function __init__()
34053405
@doc """
34063406
LinearControlParametricDiscreteSystem
34073407
3408-
Discrete-time linear parametric system of the form:
3408+
Discrete-time linear parametric control system of the form:
34093409
34103410
```math
34113411
x_{k+1} = A(θ) x_k + B(θ) u_k, \\theta ∈ \\Theta \\; \\forall k
@@ -3432,7 +3432,7 @@ function __init__()
34323432
function $(Z)(A::MTA,
34333433
B::MTB) where {T,MTA<:MatrixZonotope{T},
34343434
MTB<:MatrixZonotope{T}}
3435-
if size(A, 1) != size(A, 2) || size(A, 1) != size(B, 1)
3435+
if checksquare(A) != size(B, 1)
34363436
throw(DimensionMismatch("incompatible dimensions"))
34373437
end
34383438
return new{T,MTA,MTB}(A, B)

0 commit comments

Comments
 (0)