Skip to content

Commit 7a9bcd4

Browse files
committed
small bugfix to xferfcn._evalfr to correctly give it dt value
1 parent 9aed7cc commit 7a9bcd4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

control/xferfcn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ def _evalfr(self, omega):
604604
if isdtime(self, strict=True):
605605
# Convert the frequency to discrete time
606606
s = exp(1.j * omega * self.dt)
607-
if np.any(omega * dt > pi):
607+
if np.any(omega * self.dt > pi):
608608
warn("_evalfr: frequency evaluation above Nyquist frequency")
609609
else:
610610
s = 1.j * omega

0 commit comments

Comments
 (0)