We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9bff6a commit 73fc6a6Copy full SHA for 73fc6a6
control/tests/frd_test.py
@@ -401,7 +401,8 @@ def test_operator_conversion(self):
401
def test_eval(self):
402
sys_tf = ct.tf([1], [1, 2, 1])
403
frd_tf = FRD(sys_tf, np.logspace(-1, 1, 3))
404
- np.testing.assert_almost_equal(evalfr(sys_tf, 1J), frd_tf.eval(1))
+ np.testing.assert_almost_equal(sys_tf(1j), frd_tf.eval(1))
405
+ np.testing.assert_almost_equal(sys_tf(1j), frd_tf(1j))
406
407
# Should get an error if we evaluate at an unknown frequency
408
with pytest.raises(ValueError):
0 commit comments