Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert "Added discrete grid to pzmap function."
This reverts commit dc8410c
  • Loading branch information
Victor
Victor committed Feb 19, 2018
commit 4117489ec3128e25b65c3f4d7ab9c2bdb1d44038
4 changes: 2 additions & 2 deletions control/statesp.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,10 +460,10 @@ def freqresp(self, omega):
if isdtime(self, strict=True):
dt = timebase(self)
cmplx_freqs = exp(1.j * omega * dt)
if ((omega * dt).any() > math.pi):
if ((omega * dt).any() > pi):
warn_message = ("evalfr: frequency evaluation"
" above Nyquist frequency")
warn(warn_message)
warnings.warn(warn_message)
else:
cmplx_freqs = omega * 1.j

Expand Down