Skip to content

Commit 798ccd5

Browse files
sawyerbfullermurrayrm
authored andcommitted
change exceptions to controlDimension instead of controlArgument for when arrays are not of the correct dimension
1 parent 0af8f83 commit 798ccd5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

control/tests/mateqn_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ def test_dlyap_g(self):
131131
with pytest.raises(ControlArgument, match="'scipy' not valid"):
132132
X = dlyap(A, Q, None, E, method='scipy')
133133

134+
@slycotonly
134135
def test_dlyap_sylvester(self):
135136
A = 5
136137
B = array([[4, 3], [4, 3]])

0 commit comments

Comments
 (0)