Skip to content

statefbk.acker doesn't use _ssmatrix-converted value of inputs #1100

@roryyorke

Description

@roryyorke

From gh-1099 ; probably needs a similar treatment to ctrb there.

pyflakes says:

control/statefbk.py:278:5: local variable 'b' is assigned to but never used

code with docstring removed:

def acker(A, B, poles):
    # Convert the inputs to matrices
    a = _ssmatrix(A)
    b = _ssmatrix(B)

    # Make sure the system is controllable
    ct = ctrb(A, B)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions