File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -937,15 +937,15 @@ def _parse_linestyle(style_name, allow_false=False):
937
937
# Nyquist criterion is actually satisfied.
938
938
#
939
939
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 ()
943
943
if Z != count + P and warn_encirclements :
944
944
warnings .warn (
945
945
"number of encirclements does not match Nyquist criterion;"
946
946
" check frequency range and indent radius/direction" ,
947
947
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 \
949
949
warn_encirclements :
950
950
warnings .warn (
951
951
"system has pure imaginary poles but indentation is"
You can’t perform that action at this time.
0 commit comments