Skip to content

Commit 7a9bcd4

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy