Skip to content

Commit 5f46b5b

Browse files
sawyerbfullerbnavigator
authored andcommitted
small bugfix to xferfcn._evalfr to correctly give it dt value
1 parent 1ed9ee2 commit 5f46b5b

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
@@ -605,7 +605,7 @@ def _evalfr(self, omega):
605605
if isdtime(self, strict=True):
606606
# Convert the frequency to discrete time
607607
s = exp(1.j * omega * self.dt)
608-
if np.any(omega * dt > pi):
608+
if np.any(omega * self.dt > pi):
609609
warn("_evalfr: frequency evaluation above Nyquist frequency")
610610
else:
611611
s = 1.j * omega

0 commit comments

Comments
 (0)