Skip to content

tf should copy its arguments; instead they are mutated #112

Closed
@roryyorke

Description

@roryyorke
import numpy as np
import control

num = [[[1]]]
den = [[[1,1]]]

print('num before',num)
g = control.tf(num,den)
print('num after',num)

outputs

num before [[[1]]]
num after [[array([1])]]

expect num to be unchanged.

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