Skip to content

Commit 5d9c7f0

Browse files
committed
rebase cleanup
1 parent 5dd6a70 commit 5d9c7f0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

control/freqplot.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -937,15 +937,15 @@ def _parse_linestyle(style_name, allow_false=False):
937937
# Nyquist criterion is actually satisfied.
938938
#
939939
if isinstance(sys, (StateSpace, TransferFunction)):
940-
P = (sys.pole().real > 0).sum() if indent_direction == 'right' \
941-
else (sys.pole().real >= 0).sum()
942-
Z = (sys.feedback().pole().real >= 0).sum()
940+
P = (sys.poles().real > 0).sum() if indent_direction == 'right' \
941+
else (sys.poles().real >= 0).sum()
942+
Z = (sys.feedback().poles().real >= 0).sum()
943943
if Z != count + P and warn_encirclements:
944944
warnings.warn(
945945
"number of encirclements does not match Nyquist criterion;"
946946
" check frequency range and indent radius/direction",
947947
UserWarning, stacklevel=2)
948-
elif indent_direction == 'none' and any(sys.pole().real == 0) and \
948+
elif indent_direction == 'none' and any(sys.poles().real == 0) and \
949949
warn_encirclements:
950950
warnings.warn(
951951
"system has pure imaginary poles but indentation is"

0 commit comments

Comments
 (0)