DOC: Update NaN case return of StateSpace.dcgain · python-control/python-control@ee75d9a

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit ee75d9a

committed

DOC: Update NaN case return of StateSpace.dcgain

following changes from commit 310f580 [ci skip]

1 parent 78a03c2 commit ee75d9a

File tree

1 file changed

+

2

-

2

lines changed

1 file changed

+

2

-

2

lines changed

Lines changed: 2 additions & 2 deletions

Original file line numberDiff line numberDiff line change

@@ -608,8 +608,8 @@ def dcgain(self):

608608

Returns

609609

-------

610610

gain : ndarray

611-

The zero-frequency gain, or np.nan if the system has a pole

612-

at the origin

611+

The zero-frequency gain, or if the system has a pole at

612+

the origin, an array of the same size filled with np.nan.

613613

"""

614614

try:

615615

if self.isctime():

0 commit comments

Comments

 (0)