Skip to content

Commit 3732a21

Browse files
committed
Correct warnings.warn call in modelsimp.markov
1 parent c70a377 commit 3732a21

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

control/modelsimp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ def markov(Y, U, m=None, transpose=False):
476476

477477
# Make sure there is enough data to compute parameters
478478
if m > n:
479-
warn.warning("Not enough data for requested number of parameters")
479+
warnings.warn("Not enough data for requested number of parameters")
480480

481481
#
482482
# Original algorithm (with mapping to standard order)

0 commit comments

Comments
 (0)