Skip to content

Commit ebb8a52

Browse files
committed
Replace deprecated numpy row_stack with vstack
1 parent 0b5332b commit ebb8a52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

control/rlocus.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import matplotlib.pyplot as plt
2222
import numpy as np
2323
import scipy.signal # signal processing toolbox
24-
from numpy import array, imag, poly1d, real, row_stack, zeros_like
24+
from numpy import array, imag, poly1d, real, vstack, zeros_like
2525

2626
from . import config
2727
from .exception import ControlMIMONotImplemented
@@ -421,7 +421,7 @@ def _RLFindRoots(nump, denp, kvect):
421421
curroots.sort()
422422
roots.append(curroots)
423423

424-
return row_stack(roots)
424+
return vstack(roots)
425425

426426

427427
def _RLSortRoots(roots):

0 commit comments

Comments
 (0)