Skip to content

Commit dc8410c

Browse files
author
Victor
committed
Added discrete grid to pzmap function.
1 parent 601b581 commit dc8410c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

control/statesp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,10 +460,10 @@ def freqresp(self, omega):
460460
if isdtime(self, strict=True):
461461
dt = timebase(self)
462462
cmplx_freqs = exp(1.j * omega * dt)
463-
if ((omega * dt).any() > pi):
463+
if ((omega * dt).any() > math.pi):
464464
warn_message = ("evalfr: frequency evaluation"
465465
" above Nyquist frequency")
466-
warnings.warn(warn_message)
466+
warn(warn_message)
467467
else:
468468
cmplx_freqs = omega * 1.j
469469

0 commit comments

Comments
 (0)