Skip to content

Commit a75a3d4

Browse files
committed
removed a test that was getting a different reslt on different systems because of numerical problems
1 parent 2b82eef commit a75a3d4

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

control/tests/margin_test.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -369,10 +369,7 @@ def test_stability_margins_methods():
369369
sysd = sys.sample(0.001, 'zoh')
370370
"""Test stability_margins() function with different methods"""
371371
out = stability_margins(sysd, method='best')
372-
assert_allclose(
373-
(18.876634845228644, 11.244969911924102, 0.40684128014454546,
374-
9.763585543509473, 4.351735617240803, 2.559873290031937),
375-
stability_margins(sysd, method='poly'))
372+
# confirm getting reasonable results using FRD method
376373
assert_allclose(
377374
(18.876634740386308, 26.356358386241055, 0.40684127995261044,
378375
9.763585494645046, 2.3293357226374805, 2.55985695034263),

0 commit comments

Comments
 (0)