Skip to content

Commit 8144627

Browse files
committed
updated path so that standalone testing works better
1 parent 0104e4b commit 8144627

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
@@ -50,7 +50,7 @@
5050
from scipy import array, poly1d, row_stack, zeros_like, real, imag
5151
import scipy.signal # signal processing toolbox
5252
import pylab # plotting routines
53-
from . import xferfcn
53+
from .xferfcn import _convertToTransferFunction
5454
from .exception import ControlMIMONotImplemented
5555
from functools import partial
5656

@@ -144,7 +144,7 @@ def _systopoly1d(sys):
144144

145145
else:
146146
# Convert to a transfer function, if needed
147-
sys = xferfcn._convertToTransferFunction(sys)
147+
sys = _convertToTransferFunction(sys)
148148

149149
# Make sure we have a SISO system
150150
if (sys.inputs > 1 or sys.outputs > 1):

0 commit comments

Comments
 (0)