Skip to content

Commit 8d8a84d

Browse files
jgoppertcwrowley
authored andcommitted
Added missing module scope for warn in statesp.
Signed-off-by: Clancy Rowley <cwrowley@princeton.edu>
1 parent e924764 commit 8d8a84d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/statesp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ def evalfr(self, omega):
380380
dt = timebase(self)
381381
s = exp(1.j * omega * dt)
382382
if (omega * dt > pi):
383-
warn("evalfr: frequency evaluation above Nyquist frequency")
383+
warnings.warn("evalfr: frequency evaluation above Nyquist frequency")
384384
else:
385385
s = omega * 1.j
386386

0 commit comments

Comments
 (0)